Clustering and High-Availability

check_cloudera_manager_config_stale.pl (Advanced Nagios Plugins Collection)

Description:

Checks Cloudera Manager service/role config staleness (restart required) via CM Rest API

Current Version

Last Release Date

May 27, 2014

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner


Project Notes
Part of the Advanced Nagios Plugins Collection. Download it here: https://github.com/harisekhon/nagios-plugins usage: check_cloudera_manager_config_stale.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) -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) -C --cluster Cluster Name as shown in Cloudera Manager (eg. "Cluster - CDH4") -S --service Service Name as shown in Cloudera Manager (eg. hdfs1, mapreduce4). Requires --cluster -R --roleId RoleId (eg. hdfs4-NAMENODE-73d774cdeca832ac6a648fa305019cef). Requires --cluster and --service, or --CM-mgmt, see --list-roles for what to pass this option -M --CM-mgmt Cloudera Manager Management services --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 -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) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
20,282