es-nagios-check.pl - ElasticSearch Nagios Checks
version 1.002
es-nagios-check.pl -H [host] [options]
Options:
--help print help --host|-H Host to poll for statistics (default: localhost) --nodes The number of nodes expected in the cluster, alarm on variance. --shard-state Check the status of shard allocation --index Index to check performance statistics (Default: NONE) --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, the host to check, defaults to localhost
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 this index will be polled.
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.