NAME

es-nagios-check.pl - ElasticSearch Nagios Checks

VERSION

version 5.4

SYNOPSIS

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

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

nodes

Optional, if specified checks for this exact number of nodes in the cluster.

shard-state

Optional, if specified checks for relocating, initializing, or unassigned shards.

check-indices

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.

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