An error has occurred during metrics gathering:
error collecting metric Desc{fqName: "snmp_error", help: "Error scraping target", constLabels: {}, variableLabels: []}: Error getting target 172.16.148.20: Request timeout (after 3 retries)--
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-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/fd70df4c-c760-4748-be89-57d538670b4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-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/8e242b3f-08ae-4b18-998c-a8b466a0701a%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/8WlSvHUshGM/unsubscribe.
To unsubscribe from this group and all its topics, 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/5509fee4-16a9-4510-a2f7-df969d4b7184%40googlegroups.com.
--
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-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/5509fee4-16a9-4510-a2f7-df969d4b7184%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/0bad5a7b-99c8-476b-afb7-4807e17dc098%40googlegroups.com.
An error has occurred during metrics gathering:
error collecting metric Desc{fqName: "snmp_error", help: "Error scraping target", constLabels: {}, variableLabels: []}: Error walking target 172.16.148.20: Request timeout (after 1 retries)contents of generator.yml file:
more generator.yml
modules:
# Default IF-MIB interfaces table with ifIndex.
if_mib:
walk: [sysUpTime, interfaces, ifXTable]
# Interfaces if ifAlias is unique.
if_mib_ifalias:
walk: [sysUpTime, interfaces, ifXTable]
lookups:
- old_index: ifIndex
new_index: ifAlias
# Interfaces if ifDescr is unique.
if_mib_ifdescr:
walk: [sysUpTime, interfaces, ifXTable]
lookups:
- old_index: ifIndex
new_index: ifDescr
# Interfaces if ifName is unique.
if_mib_ifname:
walk: [sysUpTime, interfaces, ifXTable]
lookups:
- old_index: ifIndex
# Use OID to avoid conflict with Netscaler NS-ROOT-MIB.
new_index: 1.3.6.1.2.1.31.1.1.1.1 # ifName
# Cicso UCS
cisco_ucs:
walk:
- interfaces
- ifXTable
- 1.3.6.1.4.1.9.9.719.1.9.12 #cucsComputeIOHubEnvStatsTable
# - 1.3.6.1.4.1.9.9.719.1.16 #CISCO-UNIFIED-COMPUTING-ETHER-MIB
# - 1.3.6.1.4.1.9.9.719.4 #CISCO-UNIFIED-COMPUTING-TC-MIB
# - 1.3.6.1.4.1.9.9.719.1.3 #CISCO-UNIFIED-COMPUTING-ADAPTOR-MIB
# - 1.3.6.1.4.1.9.9.719.1.20 #CISCO-UNIFIED-COMPUTING-FC-MIB
# - 1.3.6.1.4.1.9.9.719.1.9 #CISCO-UNIFIED-COMPUTING-COMPUTE-MIB
# - 1.3.6.1.4.1.9.9.719.1.41 #CISCO-UNIFIED-COMPUTING-PROCESSOR-MIB
# - 1.3.6.1.4.1.9.9.719.1.30 #CISCO-UNIFIED-COMPUTING-MEMORY-MIB
# - 1.3.6.1.4.1.9.9.719.1.46 #CISCO-UNIFIED-COMPUTING-SW-MIB
auth:
community: <string>
retries: 1
timeout: 120s
# ./generator generate
INFO[0000] Loading MIBs from $HOME/.snmp/mibs:/usr/share/snmp/mibs source="net_snmp.go:135"
WARN[0004] NetSNMP reported 8770 parse errors source="main.go:100"
WARN[0005] Can't find augmenting oid tokenRingMLStatsEntry for tokenRingMLStats2Entry source="tree.go:71"
WARN[0005] Can't find augmenting oid tokenRingPStatsEntry for tokenRingPStats2Entry source="tree.go:71"
WARN[0005] Can't find augmenting oid dot1agCfmMepEntry for mefSoamPmMepEntry source="tree.go:71"
WARN[0005] Can't find augmenting oid cCdmaPcfSoRpRegStatsEntry for ccpCdmaExtPcfSoRpRegStatsEntry source="tree.go:71"
WARN[0005] Can't find augmenting oid cCdmaPcfSoPppSetupStatsEntry for ccpCdmaExtPcfSoPppSetupStatsEntry source="tree.go:71"
WARN[0005] Can't find augmenting oid rptrPortEntry for ciscoRptrPortEntry source="tree.go:71"
WARN[0005] Can't find augmenting oid cSctpAssocEntry for cSctpAssocExtEntry source="tree.go:71"
WARN[0005] Can't find augmenting oid cSctpAssocRemAddressEntry for cSctpAssocRemAddressExtEntry source="tree.go:71"
INFO[0005] Generating config for module if_mib source="main.go:49"
INFO[0005] Generated 42 metrics for module if_mib source="main.go:60"
INFO[0005] Generating config for module if_mib_ifalias source="main.go:49"
INFO[0005] Generated 42 metrics for module if_mib_ifalias source="main.go:60"
INFO[0005] Generating config for module if_mib_ifdescr source="main.go:49"
INFO[0005] Generated 42 metrics for module if_mib_ifdescr source="main.go:60"
INFO[0005] Generating config for module if_mib_ifname source="main.go:49"
INFO[0005] Generated 42 metrics for module if_mib_ifname source="main.go:60"
INFO[0005] Generating config for module cisco_ucs source="main.go:49"
INFO[0005] Generated 53 metrics for module cisco_ucs source="main.go:60"
INFO[0005] Config written to /home/prometheus/downloads/snmp_exporter/snmp_exporter-0.11.0.linux-amd64/snmp.yml source="main.go:84"
#
--
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/8WlSvHUshGM/unsubscribe.
To unsubscribe from this group and all its topics, 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/e45b2fef-000c-4079-9b6f-5c0f5ff37413%40googlegroups.com.
An error has occurred during metrics gathering:
error collecting metric Desc{fqName: "snmp_error", help: "Error scraping target", constLabels: {}, variableLabels: []}: Error walking target 172.16.148.20: Request timeout (after 1 retries)Following message in my snmp_exporter debug logs:
time="2018-06-29T09:26:35-04:00" level=info msg="Starting snmp exporter (version=0.11.0, branch=HEAD, revision=e4591716c29459cb2a12b1bed129af519ad91d23)" source="main.go:138" time="2018-06-29T09:26:35-04:00" level=info msg="Build context (go=go1.10.2, user=root@80735d30559d, date=20180530-10:24:52)" source="main.go:139" time="2018-06-29T09:26:35-04:00" level=info msg="Listening on :9116" source="main.go:218" time="2018-06-29T09:27:24-04:00" level=debug msg="Scraping target '172.16.148.20' with module 'cisco-ucs'" source="main.go:86" time="2018-06-29T09:27:24-04:00" level=debug msg="Walking target \"172.16.148.20\" subtree \"1.3.6.1.4.1.9.9.719.1.1.1.1.16\"" source="collector.go:124" time="2018-06-29T09:29:24-04:00" level=info msg="Error scraping target 172.16.148.20: Error walking target 172.16.148.20: Request timeout (after 1 retries)" source="collector.go:179" time="2018-06-29T09:29:24-04:00" level=debug msg="Scrape of target '172.16.148.20' with module 'cisco-ucs' took 120.001123 seconds" source="main.go:97"
cisco-ucs:
walk:
- 1.3.6.1.4.1.9.9.719.1.1.1.1.16
- 1.3.6.1.4.1.9.9.719.1.1.1.1.2
metrics:
- name: cucsFaultOccur
oid: 1.3.6.1.4.1.9.9.719.1.1.1.1.16
type: counter
help: Cisco UCS fault:Inst:occur managed object property - 1.3.6.1.4.1.9.9.719.1.1.1.1.16
indexes:
- labelname: cucsFaultDn
type: gauge
- labelname: cucsFaultTags
type: OctetString
lookups:
- labels:
- cucsFaultDn
labelname: cucsFaultDn
oid: 1.3.6.1.4.1.9.9.719.1.1.1.1.2
type: DisplayString
- labels:
- cucsFaultTags
labelname: cucsFaultTags
oid: 1.3.6.1.4.1.9.9.719.1.1.1.1.21
type: OctetString
version: 2
max_repetitions: 8
retries: 1
timeout: 2m0s
auth:
community: <secret>
security_level: noAuthNoPriv
auth_protocol: MD5
priv_protocol: DES