Page 1 of 1

Nagios log server alerting

Posted: Thu Jun 23, 2016 11:19 pm
by sshgraham
Hello Everyone,

I'm very new to Nagios Log Server and seeking help setting up an alert the reports all instances of an event. For example if the event occurred 5 times in 60s, i need to email report all 5 occurrences.

Thanks,
Help would be greatly appreciated

Re: Nagios log server alerting

Posted: Fri Jun 24, 2016 9:24 am
by rkennedy
Alerting in NLS actually doesn't work like that, it will send one notification if it finds information, but it will let you know how many events occurred.

You could apply a custom email template though, and have it use the %last10alertlogs% macro which will pull the information for the last 10 logs on that specific query and include it with the email.

Re: Nagios log server alerting

Posted: Fri Jun 24, 2016 1:38 pm
by sshgraham
Thanks,

i'll try to make it work for us as suggest.

Re: Nagios log server alerting

Posted: Fri Jun 24, 2016 1:44 pm
by rkennedy
Let us know how it goes!