Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_riak_key.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
27990
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!
1. reads a specified Riak key
2. checks key's returned value against expected regex (optional)
3. checks key's returned value against warning/critical range thresholds (optional)
raises warning/critical if the value is outside thresholds or not a floating point number
4. records the read timing to a given precision for reporting and graphing
5. outputs the read timing and optionally the key's value for graphing purposes
Part of the Advanced Nagios Plugins Collection.
Download it here:
https://github.com/harisekhon/nagios-plugins
usage: check_riak_key.pl [ options ]
-H --host Riak node to connect to
-P --port Port to connect to (defaults to 8098)
-k --key Key to read from Riak
-b --bucket Bucket to read the key from (must be alphanumeric, contact me for an update if you need non alphanumeric bucket names)
-e --expected Expected regex for the given Riak key's value. Optional
-w --warning Warning threshold ra:nge (inclusive) for the key's value. Optional
-c --critical Critical threshold ra:nge (inclusive) for the key's value. Optional
-g --graph Graph key's value. Optional, use only if a floating point number is normally returned for it's values, otherwise will print NaN (Not a Number). The reason this is not determined automatically is because keys that change between floats and non-floats will result in variable numbers of perfdata tokens which will break PNP4Nagios
-u --units Units to use if graphing key's value. Optional
--precision Number of decimal places for timings (default: 4)
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-V --version Print version and exit
Download it here:
https://github.com/harisekhon/nagios-plugins
usage: check_riak_key.pl [ options ]
-H --host Riak node to connect to
-P --port Port to connect to (defaults to 8098)
-k --key Key to read from Riak
-b --bucket Bucket to read the key from (must be alphanumeric, contact me for an update if you need non alphanumeric bucket names)
-e --expected Expected regex for the given Riak key's value. Optional
-w --warning Warning threshold ra:nge (inclusive) for the key's value. Optional
-c --critical Critical threshold ra:nge (inclusive) for the key's value. Optional
-g --graph Graph key's value. Optional, use only if a floating point number is normally returned for it's values, otherwise will print NaN (Not a Number). The reason this is not determined automatically is because keys that change between floats and non-floats will result in variable numbers of perfdata tokens which will break PNP4Nagios
-u --units Units to use if graphing key's value. Optional
--precision Number of decimal places for timings (default: 4)
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-V --version Print version and exit
Reviews (0)
Be the first to review this listing!