es-nagios-check.pl - ElasticSearch Nagios Checks
version 2.7
es-nagios-check.pl -H [host] [options]
Options:
--help print help --manual Show the full manual --nodes The number of nodes expected in the cluster, alarm on variance. --shard-state Check the status of shard allocation --check-indices Check indices for segmentation and "ok" status --max-segments Max number of segments in each shard
This is a plugin to poll elasticsearch for it's status and report back to Nagios.
es-nagios-check.pl - Nagios Plugin to Check Elastic Search
Print this message and exit
Optional, if specified checks for this exact number of nodes in the cluster.
Optional, if specified checks for relocating, initializing, or unassigned shards.
Optional, if specified, state and performance data for the indexes selected using a combination of --base / --days / --pattern / --index will be polled for ok status.
The more segments in a shard, the slower searches will be against that shard. This option requires the --index flag in order to establish the correct sets of shards to check for segmentation.
Brad Lhotsky <brad@divisionbyzero.net>
This software is Copyright (c) 2012 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License
To install App::ElasticSearch::Utilities, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ElasticSearch::Utilities
CPAN shell
perl -MCPAN -e shell install App::ElasticSearch::Utilities
For more information on module installation, please visit the detailed CPAN module installation guide.