Clustering and High-Availability

check_ranger_stats.pl (Advanced Nagios Plugins Collection)

Description:

Checks Ranger stats for number of policies and repositories via the 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_ranger_stats.pl Nagios Plugin to check Ranger stats for number of policies and repositories via the Rest API If isolating to one type then optional thresholds may be applied. Tested on Ranger 0.5 usage: check_ranger_stats.pl [ options ] -H --host Ranger host ($RANGER_HOST, $HOST) -P --port Ranger port ($RANGER_PORT, $PORT, default: 6080) -u --user Ranger user ($RANGER_USERNAME, $RANGER_USER, $USERNAME, $USER) -p --password Ranger password ($RANGER_PASSWORD, $PASSWORD) -T --type Stat to query, Optional, can be one of (otherwise queries all of): policy, repository -w --warning Warning threshold or ran:ge (inclusive) -c --critical Critical threshold or ran:ge (inclusive) -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
4,453