I'm setting up a new Nagios/Cacti server for my organization and almost at the finish line. However, I'm running into trouble migrating our serial temperature sensors.
Server: Dell PowerEdge R610
OS: Debian 5.0
Nagios Version: 3.2
I'm running the check_digitemp.pl from my libexec folder which has no problems running from shell with appropriate arguments .
/usr/local/nagios/libexec/check_digitemp.pl -w 88 -c 92 -t 0 -f /usr/local/nagios/etc/digitemp.conf
I can run the script as the nagios or the www-data user without any problems in a shell, however when I invoke it via a command_line it returns the following:
(Return code of 255 is out of bounds)
I've been over my syntax in my commands.cfg and host config file and they all seem ok. What am I missing? Any help is greatly appreciated .