NRPE: Unable to read output [check_temp] Watchport/H Sensor
Posted: Mon Oct 24, 2016 3:37 pm
I have a plugin [check_temp] and a Watchport Thermal sensor that I just cannot get the plug-in working. This plug-in uses Perl and this may be the issue. When I run the command in the Linux shell, it works and I get the expected output.
Command Line:
However when I run it in Nagios I receive the following error(s)
Temperature Notifications for this service have been disabled UNKNOWN 10-24-2016 15:25:01 0d 0h 27m 40s 4/4 NRPE: Unable to read output
Here is my entry in the "commands.cfg" file for Nagios
And here is my services definition in locahost.cfg:
I followed this how-to:
(https://codeplasma.com/nagios-plugins/c ... ios-how-to)
Any help would be greatly appreciated.
Thanks,
Command Line:
Code: Select all
/usr/bin/perl /usr/lib/nagios/plugins/check_watchptTemp_linux.pl -w 72 -c 74
CRITICAL: Temp is at 74.2500|temp=74.2500;72;74;0;100Temperature Notifications for this service have been disabled UNKNOWN 10-24-2016 15:25:01 0d 0h 27m 40s 4/4 NRPE: Unable to read output
Here is my entry in the "commands.cfg" file for Nagios
Code: Select all
define command {
command_name check_temp
command_line /usr/bin/perl /usr/lib/nagios/plugins/check_watchptTemp_linux.pl -w 82 -c 87
}Code: Select all
define service{
use local-service
host_name nagios
service_description Temperature
check_command check_temp
}
(https://codeplasma.com/nagios-plugins/c ... ios-how-to)
Any help would be greatly appreciated.
Thanks,