Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_elasticsearch_cluster_stats.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
6346
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_elasticsearch_cluster_stats.pl
Nagios Plugin to check Elasticsearch cluster stats
- Can fetch one or more given stats (fetches all stats if no specific ones are specified)
- Optional --warning/--critical threshold ranges if given are applied to the first float value found (--key order is preserved for this reason if wnating to return more than one thing at a time but still
have a threshold on one of them, the first one in the --key list)
- Will output stats KB/MB/GB/PB values in brackets in verbose mode for size_in_bytes stats
For a convenient list of all stats one per line use -vv
Tested on Elasticsearch 1.4.0, 1.4.4
usage: check_elasticsearch_cluster_stats.pl [ options ]
-H --host ElasticSearch host ($ELASTICSEARCH_HOST, $HOST)
-P --port ElasticSearch port ($ELASTICSEARCH_PORT, $PORT, default: 9200)
-K --key Stat Key(s) to fetch (eg. indices.count, indices.docs.count, nodes.fs.disk_writes, nodes.fs.free_in_bytes). Multiple keys may be comma separated. Optional, all stats will be printed if
no specific stat(s) requested
-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_elasticsearch_cluster_stats.pl
Nagios Plugin to check Elasticsearch cluster stats
- Can fetch one or more given stats (fetches all stats if no specific ones are specified)
- Optional --warning/--critical threshold ranges if given are applied to the first float value found (--key order is preserved for this reason if wnating to return more than one thing at a time but still
have a threshold on one of them, the first one in the --key list)
- Will output stats KB/MB/GB/PB values in brackets in verbose mode for size_in_bytes stats
For a convenient list of all stats one per line use -vv
Tested on Elasticsearch 1.4.0, 1.4.4
usage: check_elasticsearch_cluster_stats.pl [ options ]
-H --host ElasticSearch host ($ELASTICSEARCH_HOST, $HOST)
-P --port ElasticSearch port ($ELASTICSEARCH_PORT, $PORT, default: 9200)
-K --key Stat Key(s) to fetch (eg. indices.count, indices.docs.count, nodes.fs.disk_writes, nodes.fs.free_in_bytes). Multiple keys may be comma separated. Optional, all stats will be printed if
no specific stat(s) requested
-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!