mbellerue wrote:So I was scratching my head trying to figure out how to get this to work, and I was coming at it from the perspective of going from Log Server to XI. But XI has a Log Server wizard that allows you to execute a query on Log Server. So you create your query, run the Log Server wizard, point it at the query, and set the notification time range. Would that suit your needs?
This is what we've tried before, but the drawback is that we can't include the message body of the LS alert in the NXI alert message. If we could get this information, then this solution would be perfect.
The only other option I can think of is creating a script that queries Elasticsearch, and then having that script return the last log alert message. NCPA could handle that script as an active or passive check. But actually coming up with the right script might be a little challenging.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
The only other option I can think of is creating a script that queries Elasticsearch, and then having that script return the last log alert message. NCPA could handle that script as an active or passive check. But actually coming up with the right script might be a little challenging.
I'll look into this and see what I can do with it.