Hi all -I'm using snmp_exporter fine in one environment, but I'm having issues in another that I'm not really clear on what is causing the problem.I prefix this with: I have successfully used snmpwalk and snmpget to return values to me at the command line for this OID from the prometheus server.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d18b623a-69a1-4bd9-83d0-7af703db2de0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d18b623a-69a1-4bd9-83d0-7af703db2de0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
snmpbulkwalk -Cr25 returned quickly from the target.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/45fbbe97-3ace-454f-80e3-ad65b373ff20%40googlegroups.com.
An error has occurred during metrics gathering:
102 error(s) occurred:
* collected metric ifStatus untyped:<value:1 > was collected before with the same name and label values
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/45fbbe97-3ace-454f-80e3-ad65b373ff20%40googlegroups.com.
It turns out with this config:# Default module: interface stats and uptime.default:version: 2auth:community: foostats:walk:- 1.3.6.1.2.1.31.1.1.1metrics:- name: ifHCInOctetsoid: 1.3.6.1.2.1.31.1.1.1.6.1It wasn't inheriting the community string from default, and trying public, which is the real default. I'd presumed that default meant "default values for these fields for everything else in the file" so that's on me.I also noticed that in prometheus.yml, when I added a scrape_interval to the snmp job, it didn't honor it. The plugin was using the value of 5m I had set in the global block at the top.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f1e8f4d7-1c7f-4527-b66f-9672dec2cbf7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f1e8f4d7-1c7f-4527-b66f-9672dec2cbf7%40googlegroups.com.