Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Issue #3295094: In case you have deprecated or experimental modules or deprecated themes enabled in your site, there are now new checkboxes to silence that warning.
Compatibility
I have extended the compatibility to include Drupal 10.
User Experience
In the Extend page (/admin/modules), this module is now listed under “Monitoring” instead of “Custom”.
Issue #3256147: The drush nagios-update command now has an optional argument "security". This adds compatibility with the Drupal 7 version.
Bugfix
Ignored modules/themes didn't work within the drush nagios-updates command and the web-based status page. The command listed all updatable extensions - even if they should be ignored.
Fix: This release makes the POSIX PHP extension optional again. This allows running Nagios Monitoring under Cent OS and Windows again. Up until 1.7, the POSIX extention was not needed. Version 1.8 made it required.
If present, the POSIX extension is used to record the operating system user name for CLI usage and web requests. The motivation is to discover spurious permission configuration problems with other modules. If your configuration requires more than one user, extra care has to be given to file and directory permissions needed for other modules.
Store the name of the operating system user running PHP. We can use this information to complain if there are errors and the Drush user doesn't match the web user. See Issue #3193391
Store the name of the operating system user running PHP. We can use this information to complain if there are errors and the Drush user doesn't match the web user. See Issue #3193391
check_drupal Bash script: Improve --help output and add the default 127.0.0.1 for -H (host)
Issue #3206357 by tunic: Allow to select watchdog message types to monitor. This release adds a checkbox “Negate condition” to the Nagios Monitoring » General settings form.
Better URL for the ignored modules page: An underscore was added to avoid the spell checker to trigger. This change only affects you if the URL is saved somewhere, e.g. in a bookmark. See commit 2de2ae7.
Check if maintenance mode is active. As site owners, we want visitors to be able to use our Drupal site. This new check allows you to monitor if the site went into maintenance mode. This is usually part of a database update hiccup. The new check is disabled by default to prevent surprises for existing installations.
Added Drush command "drush nagios-updates", very similar to the command in the 7.x-1.x branch. This should make moving from Drupal 7 to 8 even smoother.
HTTP status page: Allow filtering by module and passing an $id, separated by /.
User experience
Settings page UX: Hide watchdog settings if nagios checkbox is clear.
Ignore cron issues when running `drush nagios-updates`.
New feature for watchdog check aka dblog: Allow to ignore certain message types. For example you may want to blacklist 'access denied' messages as they usually require no attention.
Prefixed module dependencies with project name to avoid conflicts between modules with identical names in different projects (Issue #3018196).
This release only fixes a bug triggered if Drupal is in maintenance mode. Thanks go to ErikWegner, Ben Coleman and wturrell for reporting issue 2997586.
Watchdog check has a new behavior:
In all releases until now, errors could be moved out of the limit over time (50 by default). This release prevents benign debug or info messages from hiding warnings and errors. Now, the only way to get Nagios green is to delete the triggering records from the watchdog database table explicitly. I hereby ask the community: is there a module that allows selectively deleting some types of watchdog entries while keeping most in the database? If you know the answer, please create an issue in the Nagios issue queue and I'll update this text here.
Improvements:
Added Drush command for querying Nagios. It allows transport via NRPE instead of Drupal's HTTP status page.
The most severe watchdog entries are now shown first. Chronological sorting is only applied among entries of equal severity.
- Adding a watchdog check for Nagios (#1441572 by RichardLynch)
- Fix for update status flip-flopping (#1548916 by instanceofjamie)
- Minor update to info file (greg.harvey)
- Fixing command structure for Nagios 2 in README (#1396592 by jeffschuler)
Fixed empty join() bug manifesting when no descriptions are present.
Altered update status code to significantly reduce "flip-flopping" and false warnings.
Minor documentation update for non-standard distro/configuration Nagios users.
Fixed empty join() bug manifesting when no descriptions are present.
Altered update status code to significantly reduce "flip-flopping" and false warnings.
Minor documentation update for non-standard distro/configuration Nagios users.
New UI for adding values to Nagios.
Admin option to disable the status page.
Requirements checks.
Various minor bug fixes and tidy-ups from the D6 branch.
Initial release of the module, draws a line in the sand, including drush support and various minor feature requests and bug fixes. See http://drupal.org/node/796864 for ongoing release plans.