Alerting on Single Match

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
JamesOs
Posts: 8
Joined: Wed Feb 11, 2015 7:58 am

Alerting on Single Match

Post by JamesOs »

I have been trialling the Log Server which seems to be a pretty good tool. I have been looking on setting up alerts to tell us if a specific log entry is found and have been unable to set the threshold to a single match. Setting the warning or critical value to 1 only switches state when the query matches greater than the value set. Setting the value to zero seems to disable the threshold and the alerts never gets activated.

Is it possible to alert on a single matching?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Alerting on Single Match

Post by scottwilkerson »

This is a confirmed bug.

The proper setting would be 0 as it would be > the value to trigger, but as you mentioned this was disabling the alert.

We are getting a fix in place and will post back shortly
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Alerting on Single Match

Post by scottwilkerson »

A temp for for this bug is to unzip the attachment and place in
/var/www/html/nagioslogserver/application/models

Next release will have this fix.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
JamesOs
Posts: 8
Joined: Wed Feb 11, 2015 7:58 am

Re: Alerting on Single Match

Post by JamesOs »

Thanks for the follow up with confirmation and workaround patch.

I was also able to get around the problem using a value of 0.5. Not being zero and less than one the alerts succeeded.

Not sure if decimal values should be valid here or not
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Alerting on Single Match

Post by scottwilkerson »

That's fine and 2015R1.3 has this fix in it...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked