No performance data from check_snmp
Posted: Tue Apr 12, 2016 5:27 pm
We are using a ControlByWeb X300 web relay at one of our sites. We have written a service to retrieve the temperature vi SNMP:
$USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.30586.10.11.0 $ARG1$
The command is working, however it's only returning a string:
COMMAND: /usr/local/nagios/libexec/check_snmp -H 10.x.x.x -o .1.3.6.1.4.1.30586.10.11.0 -C public
OUTPUT: SNMP OK - "0" |
The output is a string, so we are not logging any performance data for this currently. How can we modify this command/service to log performance data?
Thank you for your help.
$USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.30586.10.11.0 $ARG1$
The command is working, however it's only returning a string:
COMMAND: /usr/local/nagios/libexec/check_snmp -H 10.x.x.x -o .1.3.6.1.4.1.30586.10.11.0 -C public
OUTPUT: SNMP OK - "0" |
The output is a string, so we are not logging any performance data for this currently. How can we modify this command/service to log performance data?
Thank you for your help.