Skip to main content

This script checks the state of resources and nodes.

Project description

monitoring-plugins-crm
======================

Python Nagios-compatible cluster check.

Description
-----------

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.

Usage
-----

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
resources.

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

Help
----

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

Project details


Download files

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

Source Distribution

monitoring-plugins-crm-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file monitoring-plugins-crm-1.0.1.tar.gz.

File metadata

File hashes

Hashes for monitoring-plugins-crm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1bd190c0d070027889711fbfb45d30c18611b3effa127e09ff46d2ed47ed2588
MD5 3d07156c7301d495142ff92954eec377
BLAKE2b-256 b38c5d77f9b261c8739a2247037703ec91f81e47d31cec461b06e83214c1737f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page