check_snmp return value with performance graph
Posted: Wed Jan 16, 2019 1:13 pm
Hi,
I have check_snmp inplemented as below with correct data return. But its output gives me a additional data then performance graph read those and display. Therefore it makes performance graph unusable. Any suggestion?
I have check_snmp inplemented as below with correct data return. But its output gives me a additional data then performance graph read those and display. Therefore it makes performance graph unusable. Any suggestion?
Code: Select all
[root@nagiosxi libexec]# ./check_snmp -v -D "|" -o .1.3.6.1.4.1.41263.506.0 -P 3 --seclevel=authPriv --secn
ame=nagios --authproto=sha --authpasswd='5p1cpUKq' --privpasswd='5p1cpUKq' --privproto=aes -H nutanix-traf-
ahv.internal
/usr/bin/snmpget -Le -t 10 -r 5 -m '' -v 3 [context] [authpriv] nutanix-traf-ahv.internal:161 .1.3.6.1.4.1.41263.506.0
iso.3.6.1.4.1.41263.506.0 = Counter64: 209
SNMP OK - 209 | iso.3.6.1.4.1.41263.506.0=209c
[root@nagiosxi libexec]# ./check_snmp --version
check_snmp v2.2.1 (nagios-plugins 2.2.1)