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?
Alerting on Single Match
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Alerting on Single Match
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
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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Alerting on Single Match
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.
/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.
Re: Alerting on Single Match
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
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
That's fine and 2015R1.3 has this fix in it...