Overview page - Statuses - Down Column issue

Hello all,
I am running SVN revision 8457 from 2017-03-19.
I noticed that the overview page on the Statuses Row, Down column, showed "2 alert" but when I clicked on the link it would show no entries.
After looking at the code and contents of the SQL data I found out that I have two power supplies that have a "down" state. This is accurate.
In html/includes/cache-data.inc.php line 439 the switch statement increments the $cache['statuses']['stat']['alert'] variable which is why I see the "2 alert" link which is correct.
But the link from html/includes/status-summary.inc.php line 79 says: (Short version) generate_url(array('page' => 'health', 'metric' => 'status', 'event' => 'alert,'))
I thought the extra comma after alert was odd but I added down and now the health page shows the two down power supplies.
New version: generate_url(array('page' => 'health', 'metric' => 'status', 'event' => 'alert,down'))
Thanks for a great product.
Todd (Tech-Rat)
participants (1)
-
Todd (Tech-Rat)