1752795 Members
6802 Online
108789 Solutions
New Discussion

Grouping of alerts

 
Allanm
Super Advisor

Grouping of alerts

Hi!

I want to group alerts in Nagios and want to know if and how that can be done?

So something like 1 alert for multiple alerts and I am notified only once than multiple times.

I tried using nan and nans (two of the opensource solutions) and tried hooking them into Nagios but after getting the alert initially the perl scripts that are part of nan and nans are not called by Nagios.

Is there some workable solution for this kind of problem?

Thanks,
Allan.
1 REPLY 1
Allanm
Super Advisor

Re: Grouping of alerts

Hi!

I was able to hook in nans ( to group the alerts ) in Nagios, but initially I got an email from NANS first time and then never got them.

I tried debugging but no luck. In nans there are two perl scripts -

collate-notifications.pl
aggregate-notify.pl

The collate replaces your unix mail/sendmail client in nagios config and the aggregate is run from cron which collects and sends out the grouped emails.

Collate ran first time I restarted Nagios but hasnt been running since. Ran in debug mode but it seems Nagios hasnt even called collate.
I have noticed that nagios runs fine in standalone mode but if you hook in more external programs it doesnt behave well. Please let me know if someone has faced similar issue and can help!

Here is the link to nans -
http://code.google.com/p/nans/

Thanks,
Allan.