Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_redis_publish_subscribe.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
28843
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. Subscribes to a unique channel
2. Publishes to that same unique channel with a randomly generated and timestamped token
3. Waits for the channel to feed the message through for a given number of secs
4. Checks the message received is the same as the one published
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_redis_publish_subscribe.pl
Nagios Plugin to check a Redis server is up and working via publish/subscribe API calls
Checks:
1. Subscribes to a unique channel
2. Publishes to that same unique channel with a randomly generated and timestamped token
3. Waits for the channel to feed the message through for a given number of secs
4. Checks the message received is the same as the one published
5. compares each operation's time taken against the warning/critical thresholds if given
Developed on Redis 2.4.10
usage: check_redis_publish_subscribe.pl [ options ]
-H --host Redis Host to connect to
-P --port Redis Port to connect to (default: 6379)
-p --password Password to connect with (use if Redis is configured with requirepass)
--subscriber-wait Let the subscriber wait this many secs to make sure it has received the message (default: 0.001, min: 1e-06, max: 10)
-w --warning Warning threshold in seconds for each publish/subscribe operation (use float for milliseconds)
-c --critical Critical threshold in seconds for each publish/subscribe operation (use float for milliseconds)
--precision Number of decimal places for timings (default: 5)
-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
check_redis_publish_subscribe.pl
Nagios Plugin to check a Redis server is up and working via publish/subscribe API calls
Checks:
1. Subscribes to a unique channel
2. Publishes to that same unique channel with a randomly generated and timestamped token
3. Waits for the channel to feed the message through for a given number of secs
4. Checks the message received is the same as the one published
5. compares each operation's time taken against the warning/critical thresholds if given
Developed on Redis 2.4.10
usage: check_redis_publish_subscribe.pl [ options ]
-H --host Redis Host to connect to
-P --port Redis Port to connect to (default: 6379)
-p --password Password to connect with (use if Redis is configured with requirepass)
--subscriber-wait Let the subscriber wait this many secs to make sure it has received the message (default: 0.001, min: 1e-06, max: 10)
-w --warning Warning threshold in seconds for each publish/subscribe operation (use float for milliseconds)
-c --critical Critical threshold in seconds for each publish/subscribe operation (use float for milliseconds)
--precision Number of decimal places for timings (default: 5)
-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!