Page 1 of 1

Log Server dashboard alerting not working as expected

Posted: Mon Apr 10, 2017 1:50 am
by james.liew
Referring from earlier thread: https://support.nagios.com/forum/viewto ... 37&t=43032

I seem to be getting the error emails below:


What I want to do is to make it alert if I receive <1000 emails (WARNING) and <500 emails (CRITICAL) but I'm receiving more than the 1000 threshold so it shouldn't be sending alerts. Not sure why this is happening.
Windows Event Log Threshold Alerting came back with a CRITICAL state at
The alert was processed with the following thresholds:
• Lookback period: 60m
• Warning: 1000
• Critical: 500
Here is the full alert output:
CRITICAL: 14884 matching entries found |logs=14884;1000;500
See the last 60m in the Nagios Log Server dashboard.
Nagios Log Server

Re: Log Server dashboard alerting not working as expected

Posted: Mon Apr 10, 2017 11:57 am
by tacolover101
the filter is currently working with >500 and >1000. post a screenshot of your current settings for the alert.

Re: Log Server dashboard alerting not working as expected

Posted: Mon Apr 10, 2017 1:48 pm
by tgriep
If you want to receive Alerts for less than the thresholds, you would have to edit the Alert and add a colon on the end of the thresholds line the example below.

Code: Select all

1000:
500:
The colon on the end changed the threshold to be less than and should send the alerts how you want.

Re: Log Server dashboard alerting not working as expected

Posted: Mon Apr 10, 2017 7:04 pm
by james.liew
Awesome, adding the : did the trick.

Didn't realize it before. Thanks!

Re: Log Server dashboard alerting not working as expected

Posted: Tue Apr 11, 2017 10:04 am
by cdienger
Hi James,

Have you tested and confirmed the solution? If so, can this thread be locked?

Re: Log Server dashboard alerting not working as expected

Posted: Tue Apr 18, 2017 4:03 am
by james.liew
Yes, I have tested and this is now good to close