Do you know if a plugin already exist to query Elasticsearch to generate alert.
Thank you!
Nagios XI query Elasticsearch to alert on specific criteria
Re: Nagios XI query Elasticsearch to alert on specific crite
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.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI query Elasticsearch to alert on specific crite
@mcapra is correct, there is actually a Nagios Log Server Wizard in Nagios XI too that you can use as well.