Closed (fixed)
Project:
Nagios Monitoring
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
10 Aug 2011 at 16:12 UTC
Updated:
19 Sep 2011 at 13:22 UTC
If anonymous page caching is turned on, the Nagios results page will be cached, thereby Drupal tells Nagios how it was when the page was first hit, not how it is now. This rather effectively defeats the purpose of monitoring in the first place :)
The fix is simple - the first line of nagios_status_page() should be drupal_page_is_cacheable(FALSE);
Comments
Comment #1
greg.harveyFixed in Drupal 6 version (a bit trickier, needed hook_init() - but sorted) will do Drupal 7 version later. Note, NRPE + drush is way better than the HTTP status page, if you can use it.
Comment #2
greg.harveyDone in both branches. Thanks for the report and D7 fix! =)
Comment #3
greg.harveyDone in both branches.