Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_riak_write.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
29950
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:
1. writes a new unique key to the nagios bucket with dynamically generated value
2. reads key back, checking the value is identical to the value generated and written
3. deletes the key
4. records the write/read/delete timings to a given precision
5. compares each operation's time taken against the warning/critical thresholds if given
Part of the Advanced Nagios Plugins Collection, download it here:
https://github.com/harisekhon/nagios-plugins
./check_riak_write.pl --help
Nagios Plugin to check Riak is working and writeable via the HTTP Rest API
Checks:
1. writes a new unique key to the nagios bucket with dynamically generated value
2. reads key back, checking the value is identical to the value generated and written
3. deletes the key
4. records the write/read/delete timings to a given precision
5. compares each operation's time taken against the warning/critical thresholds if given
Control of Riak's n_val for the nagios bucket should be done separately, preferably by pre-creating the bucket with the desired n_val
usage: check_riak_write.pl [ options ]
-H --host Riak node to connect to
-P --port Port to connect to (defaults to 8098)
-w --warning Warning threshold in seconds for each read/write/delete operation (use float for milliseconds)
-c --critical Critical threshold in seconds for each read/write/delete operation (use float for milliseconds)
--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 --version Print version and exit
https://github.com/harisekhon/nagios-plugins
./check_riak_write.pl --help
Nagios Plugin to check Riak is working and writeable via the HTTP Rest API
Checks:
1. writes a new unique key to the nagios bucket with dynamically generated value
2. reads key back, checking the value is identical to the value generated and written
3. deletes the key
4. records the write/read/delete timings to a given precision
5. compares each operation's time taken against the warning/critical thresholds if given
Control of Riak's n_val for the nagios bucket should be done separately, preferably by pre-creating the bucket with the desired n_val
usage: check_riak_write.pl [ options ]
-H --host Riak node to connect to
-P --port Port to connect to (defaults to 8098)
-w --warning Warning threshold in seconds for each read/write/delete operation (use float for milliseconds)
-c --critical Critical threshold in seconds for each read/write/delete operation (use float for milliseconds)
--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 --version Print version and exit
Reviews (0)
Be the first to review this listing!