You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux exporter-host 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
snmp_exporter version:
snmp_exporter, version 0.6.0 (branch: HEAD, revision: 4388d68)
build user: root@fd9cde4d0842
build date: 20170822-11:04:46
go version: go1.8.3
What did you do that produced an error?
Was trying to collect some snmp metrics from host. Faced an error:
server returned HTTP status 500 Internal Server Error
snmp_exporter error
An error has occurred during metrics gathering:
9 error(s) occurred:
* collected metric bgpPeerAdvertisedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.1" > gauge:<value:3403 > was collected before with the same name and label values
* collected metric bgpPeerAcceptedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.1" > gauge:<value:78 > was collected before with the same name and label values
* collected metric bgpPeerAcceptedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.3" > gauge:<value:11 > was collected before with the same name and label values
* collected metric bgpPeerAdvertisedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.3" > gauge:<value:0 > was collected before with the same name and label values
* collected metric bgpPeerDeniedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.3" > gauge:<value:0 > was collected before with the same name and label values
* collected metric bgpPeerDeniedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.212" > gauge:<value:0 > was collected before with the same name and label values
* collected metric bgpPeerAdvertisedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.212" > gauge:<value:0 > was collected before with the same name and label values
* collected metric bgpPeerDeniedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.1" > gauge:<value:0 > was collected before with the same name and label values
* collected metric bgpPeerAcceptedPrefixes label:<name:"BgpRemoteIP" value:"1.1.1.212" > gauge:<value:25 > was collected before with the same name and label values
What did you expect to see?
Not see, but to collect metrics. And it seems that type: IpAddr doesn't correctly processes IP address with mask. It takes only first 4 octets after oid and ignores last two, which are /mask. So I'm getting an error because (for example) 1.1.1.212/128 and 1.1.1.212/1 become the same and looks like: 1.1.1.212
Host operating system:
Linux exporter-host 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
snmp_exporter version:
snmp_exporter, version 0.6.0 (branch: HEAD, revision: 4388d68)
build user: root@fd9cde4d0842
build date: 20170822-11:04:46
go version: go1.8.3
What did you do that produced an error?
Was trying to collect some snmp metrics from host. Faced an error:
snmp_exporter error
What did you expect to see?
Not see, but to collect metrics. And it seems that type: IpAddr doesn't correctly processes IP address with mask. It takes only first 4 octets after oid and ignores last two, which are /mask. So I'm getting an error because (for example) 1.1.1.212/128 and 1.1.1.212/1 become the same and looks like: 1.1.1.212
Part of snmp.yml config
snmpwalk response:
The text was updated successfully, but these errors were encountered: