Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_elasticsearch_node_disk_percent.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
5418
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_node_disk_percent.pl
Nagios Plugin to check the disk % space used on a given Elasticsearch node in a cluster
Will test the first node with matching hostname/FQDN/IP or Elasticsearch node name. Client nodes like LogStash will not be counted as they don't expose disk % but if co-locating more than one
Elasticsearch data node instance on a host you should supply the Elasticsearch node instance name instead to be more specific otherwise you will only be able to test the first instance found
(--list-nodes shows all available hosts/IP and instance names).
For regular deployments with one Elasticsearch instance per server it's perfectly fine to just specify the IP or the hostname/FQDN for convenience.
For convenience --node defaults to same as --host, which may not match if you're specifying a short hostname for --host and elasticsearch is reporting an FQDN, in which case you should specify the node
explicitly as shown by the output of --list-nodes.
Tested on Elasticsearch 1.4.0, 1.4.4
usage: check_elasticsearch_node_disk_percent.pl [ options ]
-H --host ElasticSearch host ($ELASTICSEARCH_HOST, $HOST)
-P --port ElasticSearch port ($ELASTICSEARCH_PORT, $PORT, default: 9200)
-N --node Elasticsearch node ($ELASTICSEARCH_NODE)
--list-nodes List Elasticsearch nodes
-w --warning Warning threshold or ran:ge (inclusive, default: 75)
-c --critical Critical threshold or ran:ge (inclusive, default: 90)
-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_node_disk_percent.pl
Nagios Plugin to check the disk % space used on a given Elasticsearch node in a cluster
Will test the first node with matching hostname/FQDN/IP or Elasticsearch node name. Client nodes like LogStash will not be counted as they don't expose disk % but if co-locating more than one
Elasticsearch data node instance on a host you should supply the Elasticsearch node instance name instead to be more specific otherwise you will only be able to test the first instance found
(--list-nodes shows all available hosts/IP and instance names).
For regular deployments with one Elasticsearch instance per server it's perfectly fine to just specify the IP or the hostname/FQDN for convenience.
For convenience --node defaults to same as --host, which may not match if you're specifying a short hostname for --host and elasticsearch is reporting an FQDN, in which case you should specify the node
explicitly as shown by the output of --list-nodes.
Tested on Elasticsearch 1.4.0, 1.4.4
usage: check_elasticsearch_node_disk_percent.pl [ options ]
-H --host ElasticSearch host ($ELASTICSEARCH_HOST, $HOST)
-P --port ElasticSearch port ($ELASTICSEARCH_PORT, $PORT, default: 9200)
-N --node Elasticsearch node ($ELASTICSEARCH_NODE)
--list-nodes List Elasticsearch nodes
-w --warning Warning threshold or ran:ge (inclusive, default: 75)
-c --critical Critical threshold or ran:ge (inclusive, default: 90)
-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!