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
- Article by Victor Kane: Nagios Drupal Monitoring.
- New module: Using Nagios to monitor your Drupal sites
- Presentation: Monitoring Drupal using Nagios integration
- Monitoring Drupal With Opsview
- Good news if you are still using Drupal 7: this module offers a migration path to Drupal 8.
Similar projects
Feel free to evaluate these modules, too:
- Monitoring
- Drupal Remote Dashboard
- Zabbix
- Munin
- Production check & Production monitor
- Sentry Client
- Prometheus Exporter
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.
Project information
- Module categories: Administration Tools, Integrations, Developer Tools
- 2,630 sites report using this module
- Created by kbahey on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-1.x-dev updated 2 Dec 2023 at 11:45 UTC
Development version: 7.x-1.x-dev updated 2 Dec 2023 at 11:49 UTC