Home Directory Plugins Clustering and High-Availability check_ambari_cluster_version.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_ambari_cluster_version.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
5364
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 an Ambari managed Cluster is on the right HDP version via Ambari REST API
Part of the Advanced Nagios Plugins Collection

Download it here:

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

check_ambari_cluster_version.pl

Nagios Plugin to check an Ambari managed Cluster is on the right HDP version via Ambari REST API

Tested on Ambari 2.1.0 on Hortonworks HDP 2.2, 2.3

usage: check_ambari_cluster_version.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)
-e --expected Expected version string (optional). This can be any string since Ambari can technically support any stack, not just HDP. This string must match exactly, eg. 'HDP-2.3', not '2.3' or
'HDP2.3'
--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