web GUI and command differ in snmp test results
Posted: Tue Apr 15, 2014 3:15 pm
OK, so earlier I figured out how to perform an alternate test of a host being up... I configured another host the same way, but my command fails ONLY IN THE GUI. It passes from the command line:
Command line:
nagios libexec]# ./check_snmp -H xx.xx.xx.xx -p 161 -P 2c -C public -m DISMAN-EVENT-MIB -o sysUpTimeInstance -r "Timeticks"
SNMP OK - Timeticks: (555273800) 64 days, 6:25:38.00 |
GUI:
COMMAND: /usr/local/nagios/libexec/check_smtp -H xx.xx.xx.xx -p 161 -P 2c -C public -m DISMAN-EVENT-MIB -o sysUpTimeInstance -r "Timeticks"
OUTPUT: Usage:check_smtp -H host [-p port] [-e expect] [-C command] [-f from addr][-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]
[-S] [-D days] [-n] [-v] [-4|-6]
Any ideas?
Command line:
nagios libexec]# ./check_snmp -H xx.xx.xx.xx -p 161 -P 2c -C public -m DISMAN-EVENT-MIB -o sysUpTimeInstance -r "Timeticks"
SNMP OK - Timeticks: (555273800) 64 days, 6:25:38.00 |
GUI:
COMMAND: /usr/local/nagios/libexec/check_smtp -H xx.xx.xx.xx -p 161 -P 2c -C public -m DISMAN-EVENT-MIB -o sysUpTimeInstance -r "Timeticks"
OUTPUT: Usage:check_smtp -H host [-p port] [-e expect] [-C command] [-f from addr][-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]
[-S] [-D days] [-n] [-v] [-4|-6]
Any ideas?