Is it possible to set up more than one email address for Nagios to send alerts to? If so how and where do I configure this?
I tried to fiddle around with it but it doesn't work. In Contacts.cfg, I tried to add another email address seperated by a comma as you do with the hostnames in the windows.cfg but it will only send to the 1st email address. When I tried to add another contact group, the nagios check failed saying it couldn't find any of the hosts.
Any assistance would be grand.
Thanks!
Nagios Email Alerts
Re: Nagios Email Alerts
Yeah, you can use the address1, address2, etc config directives, and then reference them in your notification handler as $ADDRESS1$ $ADDRESS2$, etc.
http://nagios.sourceforge.net/docs/3_0/ ... ml#contact
http://nagios.sourceforge.net/docs/3_0/ ... ml#contact
Re: Nagios Email Alerts
You can assign multiple addresses as mguthrie said but then you will need to update the notification handler any time you add a new email, the better solution would be to create a new contact for each email and assign all relevant contacts to a contact group... that way you can centralize all the management to the contacts.cfg and if you ever need to stop sending to an address you just need to remove the contact from the group.