New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error performance data with check_snmp #102
Comments
The c is the UOM and is supposed to be there. My guess would be that you have a pnp4nagios template that is not accounting for the UOM. |
Sorry, but I'dont understand, what is UOM? 2015-09-10 21:00 GMT+02:00 Scott Wilkerson notifications@github.com:
|
This is explained on the page that @scottwilkerson linked to:
|
OK, tahnks. we are monitoring ram or disk and seems that is defined as counter but we need no units or other units kb or bytes, because this objects are not counters, and not sure, but this could be my problem whay graph is not generated correctly, contains data lost and anormal graphs Thanks |
Hi, I think that is a problem of snmp, mib is incorrect is defined as counter64 and must be integer, not? |
That sounds correct, and hence why check_snmp is using c as the Unit Of Measure |
Our vendor has described that is defines as countergauge64 and details that is a problem of net-snmp or plugin? |
We have detected a problem with performance data with check_snmp, in performance data c characher is printed and this generates that pnp4nagios can make graphs with this data
4 examples:
[root@server libexec]# ./check_snmp -V
check_snmp v2.0.3 (nagios-plugins 2.0.3)
[root@server libexec]# ./check_snmp -H 194.0.0.251 -C public -P 2c -o STONESOFT-FIREWALL-MIB::fwMemBytesUsed.0
SNMP OK - 1874554880 bytes | STONESOFT-FIREWALL-MIB::fwMemBytesUsed.0=1874554880c
[root@plugins]# ./check_snmp -V
check_snmp v2.1.1 (nagios-plugins 2.1.1)
[root@server plugins]# ./check_snmp -H 194.0.0.251 -C public -P 2c -o STONESOFT-FIREWALL-MIB::fwMemBytesUsed.0
SNMP OK - 1877135360 bytes | STONESOFT-FIREWALL-MIB::fwMemBytesUsed.0=1877135360c
[root@server plugins]# ./check_snmp -H 172.22.150.210 -C public -P 2c -o 1.3.6.1.2.1.2.2.1.14.20
SNMP OK - 2008790 | iso.3.6.1.2.1.2.2.1.14.20=2008790c
[root@server plugins]# ./check_snmp -H 172.22.150.210 -C public -P 1 -o 1.3.6.1.2.1.2.2.1.14.20
SNMP OK - 2008790 | iso.3.6.1.2.1.2.2.1.14.20=2008790c
tried with nagios plugins 2.0.3 and with 2.1.1
The text was updated successfully, but these errors were encountered: