Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_cloudera_manager.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
21822
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Alternatively lists users and in verbose mode also roles for each user in Cloudera Manager
Use API ping as a base dependency check for the real checks in adjacent check_cloudera_manager_*.pl plugins in the Advanced Nagios Plugins Collection
Part of the Advanced Nagios Plugins Collection.
Download it here:
https://github.com/harisekhon/nagios-plugins
usage: check_cloudera_manager.pl [ options ]
-H --host Cloudera Manager host ($CM_HOST, $HOST)
-P --port Cloudera Manager port ($CM_PORT, $PORT, default: 7180)
-u --user Cloudera Manager user ($CM_USERNAME, $CM_USER, $USERNAME, $USER)
-p --password Cloudera Manager password ($CM_PASSWORD, $PASSWORD)
--api-ping Test Cloudera Manager API (use this as a base dependency check for all CM based checks)
--list-users List users in Cloudera Manager (verbose mode shows each user's roles in format user[role] eg admin[ROLE_ADMIN])
-T --tls Use TLS connection to Cloudera Manager (automatically updates port to 7183 if still set to 7180 to save one 302 redirect round trip)
--ssl-CA-path Path to CA certificate directory for validating SSL certificate (automatically enables --tls)
--tls-noverify Do not verify SSL certificate from Cloudera Manager (automatically enables --tls)
--list-activities List activities for a given cluster service. Requires --cluster and --service
--list-clusters List clusters for a given cluster service. Requires --cluster and --service
--list-hosts List host id of nodes managed my Cloudera Manager
--list-nameservices List nameservices for a given cluster service. Requires --cluster and --service. Service should be an HDFS service id
--list-roles List roles for a given cluster service. Requires --cluster and --service
--list-services List services for a given cluster. Convenience switch to find the serviceId to query, prints service ids and exits immediately. Requires --cluster
-w --warning Warning threshold or ran:ge (inclusive)
-c --critical Critical threshold or ran:ge (inclusive)
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-h --help Print description and usage options
-V --version Print version and exit
Download it here:
https://github.com/harisekhon/nagios-plugins
usage: check_cloudera_manager.pl [ options ]
-H --host Cloudera Manager host ($CM_HOST, $HOST)
-P --port Cloudera Manager port ($CM_PORT, $PORT, default: 7180)
-u --user Cloudera Manager user ($CM_USERNAME, $CM_USER, $USERNAME, $USER)
-p --password Cloudera Manager password ($CM_PASSWORD, $PASSWORD)
--api-ping Test Cloudera Manager API (use this as a base dependency check for all CM based checks)
--list-users List users in Cloudera Manager (verbose mode shows each user's roles in format user[role] eg admin[ROLE_ADMIN])
-T --tls Use TLS connection to Cloudera Manager (automatically updates port to 7183 if still set to 7180 to save one 302 redirect round trip)
--ssl-CA-path Path to CA certificate directory for validating SSL certificate (automatically enables --tls)
--tls-noverify Do not verify SSL certificate from Cloudera Manager (automatically enables --tls)
--list-activities List activities for a given cluster service. Requires --cluster and --service
--list-clusters List clusters for a given cluster service. Requires --cluster and --service
--list-hosts List host id of nodes managed my Cloudera Manager
--list-nameservices List nameservices for a given cluster service. Requires --cluster and --service. Service should be an HDFS service id
--list-roles List roles for a given cluster service. Requires --cluster and --service
--list-services List services for a given cluster. Convenience switch to find the serviceId to query, prints service ids and exits immediately. Requires --cluster
-w --warning Warning threshold or ran:ge (inclusive)
-c --critical Critical threshold or ran:ge (inclusive)
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-h --help Print description and usage options
-V --version Print version and exit
Reviews (0)
Be the first to review this listing!