Detailed Description
Functions that deals with Nagios
Function Documentation
Monitores a Drupal installation for core updates
- Returns:
- MULTI_NAGIOS_OK(0) if monitored DRUPAL_ROOT is uptodate or MULTI_NAGIOS_CRITICAL(2) if there are updates available
- Todo:
- check core version for url in critical message (/?q=admin/logs/updates for 5.x, (/?q=admin/reports/updates for 6.x)
Definition at line 523 of file multi.inc.
References _multi_current_version(), and _multi_recommended_version().
Referenced by multi_nagios().
EXPERIMENTAL
Monitores a single Drupal site for module and core updates
This function was heavily inspired by Markus Benning's script at http://www.w3r3wolf.de/blog/wp-content/uploads/2009/08/check_drupal_update.php.gz
- Note:
- If there is a site at sites/default, this command runs on site basis, although you have only specified the Drupal installation.
- Returns:
- MULTI_NAGIOS_OK(0) if monitored site is uptodate or MULTI_NAGIOS_CRITICAL(2) if there are updates available
- Todo:
- investigate why not all updateble modules are listed
- Todo:
- continue writing.
- Todo:
- check 7.x's _pm_get_update_info() result array
Definition at line 585 of file multi.inc.
Referenced by multi_nagios().