Home Directory Plugins Clustering and High-Availability check_riak_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

check_riak_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
1855
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks Riak's version via the Basho Stats API
Part of the Advanced Nagios Plugins Collection

Download it here:

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

check_riak_version.pl

Nagios Plugin to check Riak's stats and other settings exposed via the Basho Stats API such as Riak component versions

This is even how check_riak_version.pl is implemented through this plugin for Riak core, and you can explicitly query other components via this plugin, use --all -vv to get a convenient listing one per
line of all the available stats.

Checks:

1. fetches one or more stats
2. checks stat's value against expected regex (optional)
3. checks stat's value against warning/critical range thresholds (optional)
raises warning/critical if the value is outside thresholds or not a floating point number

Tested on Riak 1.x, 2.0.0, 2.1.1

usage: check_riak_version.pl [ options ]

-H --host Riak host ($RIAK_HOST, $HOST)
-P --port Riak port ($RIAK_PORT, $PORT, default: 8098)
-e --expected Expected regex for stat if one stat is specified. Checked before range thresholds. Optional
-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