snmp bug (?)
Posted: Fri Oct 04, 2024 3:35 am
I'm connecting to various codecs to get the packet drops information via snmp,
While it works fine with some of them, Nagios seems to be adding "c" to some of them
That "C" is not in data but it breaks the graphs:
[[email protected] ~]$ /usr/local/nagios/libexec/check_snmp -H xx.xx.xx.xx -o 'iptecPortRxPacketErrors.1' -C 'xxx' -P 2c -m IPTEC-SERVICES-VNP-MIB -v
/bin/snmpget -Le -t 3 -r 5 -m IPTEC-SERVICES-VNP-MIB -v 2c [context] [authpriv] xx.xx.xx.xx:161 iptecPortRxPacketErrors.1
IPTEC-PORTSERVICE-COMMON-MIB::iptecPortRxPacketErrors.1 = Counter32: 323
SNMP OK - 323 | IPTEC-PORTSERVICE-COMMON-MIB::iptecPortRxPacketErrors.1=323c
cneck_snmp -v2.4.5
Where is that "c" from and how can I get rid of it?
While it works fine with some of them, Nagios seems to be adding "c" to some of them
That "C" is not in data but it breaks the graphs:
[[email protected] ~]$ /usr/local/nagios/libexec/check_snmp -H xx.xx.xx.xx -o 'iptecPortRxPacketErrors.1' -C 'xxx' -P 2c -m IPTEC-SERVICES-VNP-MIB -v
/bin/snmpget -Le -t 3 -r 5 -m IPTEC-SERVICES-VNP-MIB -v 2c [context] [authpriv] xx.xx.xx.xx:161 iptecPortRxPacketErrors.1
IPTEC-PORTSERVICE-COMMON-MIB::iptecPortRxPacketErrors.1 = Counter32: 323
SNMP OK - 323 | IPTEC-PORTSERVICE-COMMON-MIB::iptecPortRxPacketErrors.1=323c
cneck_snmp -v2.4.5
Where is that "c" from and how can I get rid of it?