Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_ranger_stats.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
4453
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!
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
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)
Be the first to review this listing!