Home Directory Plugins Clustering and High-Availability check_cloudera_manager_health.pl (Advanced Nagios Plugins Collection)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_cloudera_manager_health.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
20525
Nagios CSP

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!
Checks service/role/host health in Cloudera Manager via CM Rest API
Part of the Advanced Nagios Plugins Collection.

Download it here:

https://github.com/harisekhon/nagios-plugins


usage: check_cloudera_manager_health.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

-I --hostId FQDN or HostId of node, see --list-hosts

-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