Hello, I’m attempting to use the check_snmp plugin to monitor the alarm status of my Liebert UPS.
Here is my command:
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -P 1 -m “/tmp/$ARG1$”
-o $ARG2$ -w $ARG3$ -c $ARG4$ -l $ARG5$
But in the GUI, it’s giving me this error:
Could not open pipe: /usr/bin/snmpget -t 1 -r 5 -m “/tmp/liebert300.mib” -v 1 -c public 10.255.0.253:161 lcUpsAlarms.0
I can take the above command and run it as root and nagios users with no problems.
Thanks for any help you can provide. I’m new to Nagios so be gentle. Thanks.
p.s. OS is CentOS and I built/compiled/make from source.