Clustering and High-Availability

check_ambari_cluster_health_report.pl (Advanced Nagios Plugins Collection)

Description:

Checks the Ambari health report for a cluster via Ambari REST API

Current Version

Last Release Date

January 4, 2016

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 check_ambari_cluster_health_report.pl Nagios Plugin to check the Ambari health report for a cluster via Ambari REST API Checks for UNHEALTHY status in Ambari's health report and returns CRITICAL if found. Returns WARNING for INIT and maintenance states, but this is ignorable in Nagios configuration if desired. HEARTBEAT_LOST returns UNKNOWN. Ambari also has it's own UNKNOWN, which returns the same. Tested on Ambari 2.1.0 on Hortonworks HDP 2.2, 2.3 usage: check_ambari_cluster_health_report.pl [ options ] -H --host Ambari host ($AMBARI_HOST, $HOST) -P --port Ambari port ($AMBARI_PORT, $PORT, default: 8080) -u --user Ambari user ($AMBARI_USERNAME, $AMBARI_USER, $USERNAME, $USER) -p --password Ambari password ($AMBARI_PASSWORD, $PASSWORD) -C --cluster Cluster Name as shown in Ambari or --list-clusters ($AMBARI_CLUSTER) --list-clusters Lists all the clusters managed by the Ambari server --list-users List Ambari users -T --tls Use TLS connection --ssl-CA-path Path to CA certificate directory for validating SSL certificate (automatically enables --tls) --tls-noverify Do not verify SSL certificate (automatically enables --tls) -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
730,194