Page 1 of 1
Email on New Log (notice)
Posted: Mon May 09, 2016 8:45 am
by aer9480
Hey guys, I am trying to email 2 users when a new log comes in on my custom query. I have tried setting it up in the Alerting page and also Nagios Reactor, but the problem is that the severity of the logs is "notice" and the only two options for the alerts are warning and critical, so nothing will ever get sent. How would I go about alerting users through email on "notice" syslog events? Thanks!
Re: Email on New Log (notice)
Posted: Mon May 09, 2016 9:44 am
by hsmith
The severity that this syslog sends with has nothing to do with the alerting systems. Syslogs all send with their own priority, but what NLS doesn't use this information as far as alerting is concerned. Alerts in NLS are based off of X amount of logs in Y amount of minutes.
https://assets.nagios.com/downloads/nag ... Server.pdf
Re: Email on New Log (notice)
Posted: Mon May 09, 2016 9:58 am
by aer9480
Okay, so I set up the alert with these settings:
http://imgur.com/7b9MTDB
And it seems to be working, it captures the correct events, and it all looks correct when I click on "show alert in dashboard," but it doesn't send any emails. I checked all the basic stuff such as making sure the email address is correct, the templates are selected, and its not in any junk folders. Any ideas? Thanks!
Re: Email on New Log (notice)
Posted: Mon May 09, 2016 10:07 am
by hsmith
I would check your mail settings in the Administration menu. Make sure that a test email comes through just fine.
Re: Email on New Log (notice)
Posted: Mon May 09, 2016 11:21 am
by aer9480
Embarrassing; I had it configured incorrectly

Thanks Holden!
Re: Email on New Log (notice)
Posted: Mon May 09, 2016 12:09 pm
by hsmith
Happens to the best of us
I'll go ahead and close this thread.