The Nagios monitoring module integrates your Drupal site with the Nagios monitoring application. Nagios' successors, Icinga and Icinga 2 can also be used with this module.

The module reports to Nagios that the site is up and running normally, including:

  • PHP is parsing scripts and modules correctly (in case PHP gets disabled for some reason)
  • The database is accessible from Drupal
  • Whether there are configuration issues with the site, such as:
    • pending Drupal version update
    • pending Drupal module updates
    • unwritable 'files' directory
    • Pending updates to the database schema
    • Cron not running for a specified period
    • Anything else reported in the Administer -> Reports -> Status report (requirements)

If you already use Nagios in your organization to monitor your infrastructure, then this module will be useful for you. If you only run one or two Drupal sites, Nagios may be overkill for this task.

Security Note

This module supports two ways of interacting with Nagios. NRPE or standard checking over HTTP. The NRPE approach is recommended, as it is more secure. If you explicitly are using the HTTP check method then usually all is fine. Just be aware this module can be configured badly to optionally exposes the following information from your web site:

  • The number of published nodes.
  • The number of active users.
  • Whether an action requiring the administrator's attention (e.g pending module updates, unreadable 'files' directory, ...etc.)

To mitigate the security risks involved, make sure you use a unique user agent string, as documented in the README.txt. Please note that this is not a fool-proof solution.

Installation and Configuration

For installation and configuration instructions, see the README.txt file included with this module.

More information on this module

Similar projects

Feel free to evaluate these modules, too:

Authors

Khalid Baheyeldin of 2bits.com

Greg Harvey of Code Enigma

Christian Bläul (linkedin.com/in/blaeul)

The authors can also be contacted for paid customizations of this module as well as Drupal consulting, installation, development, and customizations.

Supporting organizations: 
Originally written by owner kbahey.
Used to maintain the Drupal 6 and 7 versions.
Maintains Drupal 7 and Drupal 8 versions.

Project information

Releases