Page 1 of 1
Alerting on Single Match
Posted: Wed Feb 11, 2015 8:05 am
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?
Re: Alerting on Single Match
Posted: Thu Feb 12, 2015 10:35 am
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
Re: Alerting on Single Match
Posted: Thu Feb 12, 2015 11:12 am
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.
Re: Alerting on Single Match
Posted: Mon Feb 16, 2015 11:36 am
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
Re: Alerting on Single Match
Posted: Mon Feb 16, 2015 5:48 pm
by scottwilkerson
That's fine and 2015R1.3 has this fix in it...