Home Directory Addons Active Checks Check Elasticsearch indexing/sec

Check Elasticsearch indexing/sec

Bookmark and Share

Rating
0 votes
Favoured:
0
Current Version
0.1
Last Release Date
2012-06-10
Compatible With
  • Nagios 3.x
License
GPL
Hits
25191
Files:
FileDescription
check_es_insert.pycheck_es_insert.py
Gives the number of documents indexed in Elasticsearch per second.

It basically checks for the total number of documents, then the time and writes it to a file. Next time it runs, it checks the new number of docs, and then divides the number of new documents by the number of seconds passed since the last run.

Command line parameters are:
-c for the Critical value
-w for the Warning value
-a for the address of the Elasticsearch server to check on (host:port)
-f for the file to store previous results on (check_es_insert only)

Please don't hesitate to comment, give feedback or report a bug here:
https://github.com/radu-gheorghe/check-es