Page 1 of 1

Nagios XI query Elasticsearch to alert on specific criteria

Posted: Tue Aug 29, 2017 10:57 pm
by bennyboy
Do you know if a plugin already exist to query Elasticsearch to generate alert.

Thank you!

Re: Nagios XI query Elasticsearch to alert on specific crite

Posted: Wed Aug 30, 2017 8:15 am
by mcapra
The check_nagioslogserver plugin included with Nagios XI can run ElasticSearch queries, but it does so against the Nagios Log Server API rather than hitting ElasticSearch directly. Are you just looking to run a query and count the returned documents? If so, check_nagioslogserver could be modified to do that without too much trouble depending on the ElasticSearch version in play.

Re: Nagios XI query Elasticsearch to alert on specific crite

Posted: Wed Aug 30, 2017 9:07 am
by scottwilkerson
@mcapra is correct, there is actually a Nagios Log Server Wizard in Nagios XI too that you can use as well.