NAME
es-nagios-check.pl - ElasticSearch Nagios Checks
VERSION
version 1.1
SYNOPSIS
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
DESCRIPTION
This is a plugin to poll elasticsearch for it's status and report back to Nagios.
NAME
es-nagios-check.pl - Nagios Plugin to Check Elastic Search
OPTIONS
- help
-
Print this message and exit
- host
-
Optional, the host to check, defaults to localhost
- nodes
-
Optional, if specified checks for this exact number of nodes in the cluster.
-
Optional, if specified checks for relocating, initializing, or unassigned shards.
- index
-
Optional, if specified, state and performance data for this index will be polled.
- max-segments
-
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.
AUTHOR
Brad Lhotsky <brad@divisionbyzero.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License