Home Directory Plugins Clustering and High-Availability check_elasticsearch_index_age.pl (Advanced Nagios Plugins Collection)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_elasticsearch_index_age.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
2119
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks a given Elasticsearch index exists and optionally wasn't (re)created less than N days ago. Also prints the index's UUID
Part of the Advanced Nagios Plugins Collection

Download it here:

https://github.com/harisekhon/nagios-plugins

check_elasticsearch_index_age.pl

Nagios Plugin to check a given Elasticsearch index exists and optionally wasn't (re)created less than N days ago. Also prints the index's UUID


usage: check_elasticsearch_index_age.pl [ options ]

-H --host ElasticSearch host ($ELASTICSEARCH_HOST, $HOST)
-P --port ElasticSearch port ($ELASTICSEARCH_PORT, $PORT, default: 9200)
-I --index Elasticsearch index ($ELASTICSEARCH_INDEX)
--list-indices List Elasticsearch indices
-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