Sensor_value alerts do not process
I'm using SVN version 5742 and all of my alerts work except those that are supposed to check a sensor_value metric. I'm able to check and get emails for alerts on processor_usage, toner_current, and mempool_perc, to name a few, so I know the system is working.
When I run the alerter.php script against one of the hosts indicated under the processor_usage alert and I get "1 Status: OK" messages. But when I run alerter.php against a host indicated under the sensor_value alert for Battery Capacity or for APC UPS Temperature I get "-1 Unknown status". The graphs for these sensors are fine, the MySQL table sensors-state lists the correct values as well.
My configuration for temperature looks like this: Entity Type: Temperature Delay: 1 Status: 0/0/0/0/2 Check Conditions: Require any condition Tests: sensor_value gt 40 Device Match: type match power Entity Match: sensor_descr match Temp*
The alert checker seems fine, but it looks like the tests are failing when they are run.
Has anyone else had the same issues with sensor_value alerts? Or is this feature not quite ready to be used?
participants (1)
-
Alain Gyger