Email on New Log (notice)

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
aer9480
Posts: 18
Joined: Thu Apr 21, 2016 8:09 am

Email on New Log (notice)

Post 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!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email on New Log (notice)

Post 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
Former Nagios Employee.
me.
aer9480
Posts: 18
Joined: Thu Apr 21, 2016 8:09 am

Re: Email on New Log (notice)

Post 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!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email on New Log (notice)

Post by hsmith »

I would check your mail settings in the Administration menu. Make sure that a test email comes through just fine.
Former Nagios Employee.
me.
aer9480
Posts: 18
Joined: Thu Apr 21, 2016 8:09 am

Re: Email on New Log (notice)

Post by aer9480 »

Embarrassing; I had it configured incorrectly :P Thanks Holden!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email on New Log (notice)

Post by hsmith »

Happens to the best of us :)

I'll go ahead and close this thread.
Former Nagios Employee.
me.
Locked