[Nagiosplug-help] Temptrax plugin returns incorrect data

Shane_Seidel at gwf.com.au Shane_Seidel at gwf.com.au
Thu Sep 12 21:43:33 CEST 2002


I am using a Temptrax 2000 digital thermometer and seeing incorrect data
reported by Nagios.

When run from the command line output seems correct.
 /usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 2
Temp Ok: Sensor 2 = 21.6 Deg. C
 /usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S 1
Temp Warning: Sensor 1 = 25.1 Deg. C

But Nagios reports:-
Server Room Temp OK 13-09-2002 08:56:02 7d 18h 47m 6s 1/3 Temp Ok: Sensor 1 =
-17.8 Deg. C

Server Room Temp 2 OK 13-09-2002 08:57:37 7d 15h 22m 16s 1/3 Temp Ok: Sensor 2 =
-17.8 Deg. C

I have been informed by the helpful people at Temptrax that a value of 0 deg
farenheight is being reported.

checkcommands.cfg is as follows:-
command[check_temptrax]=/usr/local/nagios/libexec/check_temptrax -w 25 -c 30 -S
1 -f 0
command[check_temptrax2]=/usr/local/nagios/libexec/./check_temptrax -w 25 -c 30
-S 2 -f 0

service.cfg is as follows:-
service[nms-GWFIS-Monitoring-System]=Server Room
Temp;0;24x7;3;5;1;gwfis-admins;240;24x7;1;1;0;;check_temptrax
service[nms-GWFIS-Monitoring-System]=Server Room Temp
2;0;24x7;3;5;1;gwfis-admins;240;24x7;1;1;0;;check_temptrax2

Nagios is v 1.0b5 on Red Hat 7.3 and compiled with default options and the
latest plugin / binary

Can someone shed some light as to why this is occuring and how to fix the
problem?

Thank
Shane




**********************************************************************************************************************************************
This document is intended solely for the named addressee.
The information contained in these pages is confidential and contains legally privileged information.
The copying or distribution of these pages or any information contained therein by any person other than the addressee is
strictly prohibited.
If you have received this communication in error, please contact the sender and delete the email.
********************************************************************





More information about the Help mailing list