Sensor problem?
We recently acquired a temperature/humidity sensor. ServersCheck is not able to perform the check and flags it with an "UNKNOWN" error. When testing the monitoring rule, the browser just "hangs" on the test window and never comes back (no timeout, no test results). However, when testing the sensor from the command line, it seems to work fine:
C:Program FilesServersCheck_Monitoringagents>sensor_check -L test.log -C TCP xxx.xxx.xxx.xxx:3001
Processing command read all for ServersCheck sensors
Device Model = Temperature/Humidity Sensor
Device Status = Normal
Firmware Version = 5.00
Number of variables = 5
Variable 1: HUMIDITY (1 % RESOLUTION) 41 % RH
Variable 2: HUMIDITY (0.1 % RESOLUTION) 41.2 % RH
Variable 3: TEMPERATURE (0.5 C RESOLUTION) 20 C
Variable 4: TEMPERATURE (0.1 C RESOLUTION) 20 C
Variable 5: HASH ID 49572
We are running ServersCheck 7.11.0, under Windows Server 2003. .NET 2.0 is installed on the server.
If it works from the command line, shouldn't it be able to perform the check?
C:Program FilesServersCheck_Monitoringagents>sensor_check -L test.log -C TCP xxx.xxx.xxx.xxx:3001
Processing command read all for ServersCheck sensors
Device Model = Temperature/Humidity Sensor
Device Status = Normal
Firmware Version = 5.00
Number of variables = 5
Variable 1: HUMIDITY (1 % RESOLUTION) 41 % RH
Variable 2: HUMIDITY (0.1 % RESOLUTION) 41.2 % RH
Variable 3: TEMPERATURE (0.5 C RESOLUTION) 20 C
Variable 4: TEMPERATURE (0.1 C RESOLUTION) 20 C
Variable 5: HASH ID 49572
We are running ServersCheck 7.11.0, under Windows Server 2003. .NET 2.0 is installed on the server.
If it works from the command line, shouldn't it be able to perform the check?
This discussion has been closed.
Comments
Run the ServersCheck web server in debug mode and run the above test settings again. Reply with the debug output.
http://kb.serverscheck.com/index.php?page=index_v2&id=38&c=root
# test Wed Aug 20 11:26:55 2008 Cxxx.xx.x.xxx.log removed (A)
# test Wed Aug 20 11:26:55 2008 COMxxx.xx.x.xxx free - starting reading
# Wed Aug 20 11:27:00 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:06 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:11 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:16 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:21 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:26 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:31 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:37 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:42 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:47 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:52 2008 Serving Wizard 4_1
# Wed Aug 20 11:27:57 2008 Serving Wizard 4_1
# Wed Aug 20 11:28:02 2008 Serving Wizard 4_1
# Wed Aug 20 11:28:07 2008 Serving Wizard 4_1
# Wed Aug 20 11:28:13 2008 Serving Wizard 4_1
# Wed Aug 20 11:28:18 2008 Serving Wizard 4_1
# Wed Aug 20 11:28:23 2008 Serving Wizard 4_1
# test Wed Aug 20 11:28:25 2008 waited 90 seconds. Time out
eq true and 0>=300
# test Wed Aug 20 11:28:26 2008 TEST - DOWN? - UNKNOWN -
# Wed Aug 20 11:28:28 2008 Serving Wizard 4_1
Perform the debug while the monitoring service is stopped.