
Clustering and High-Availability
check_cloudera_manager_config_validation.pl (Advanced Nagios Plugins Collection)
Description:
Checks Cloudera Manager config validation for services/roles via CM Rest API
Use verbose mode to print explanations for any non-OK configs if available
Current Version
Last Release Date
May 27, 2014
Compatible With
Owner
Download URL
Project Notes
Part of the Advanced Nagios Plugins Collection.
Download it here:
https://github.com/harisekhon/nagios-plugins
usage: check_cloudera_manager_config_validation.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
--CM Cloudera Manager config
-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
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
20,203