Skip to main content

This script checks the state of resources and nodes.

Project description


Python Nagios-compatible cluster check.


This nagios-compatible check aims to replace ``crm_mon -s`` and
``check_cluster`` provided in ``monitoring-plugins-cluster``. It gives a
better monitoring than the existing ones.

| This script checks the state of resources and nodes. An alert is
emitted if
| some nodes are offline or if some resources are in the 'failed' state.


Checks the state of nodes:
``sudo /usr/lib/nagios/plugins/check_cluster --nodes=yes --resources=no --perfdata=yes``

Checks the state of ressources:
``sudo /usr/lib/nagios/plugins/check_cluster --nodes=no --resources=yes --perfdata=yes``

Checks the state of both nodes and ressources:
``sudo /usr/lib/nagios/plugins/check_cluster --nodes=yes --resources=yes --perfdata=yes``

The 'warning' and 'critical' thresholds deal with the number of failed

Perfdata provide two metrics: 'offline\_nodes' and 'failed\_resources'.


``/usr/lib/nagios/plugins/check_cluster --help``

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
monitoring-plugins-crm-1.0.1.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page