Alternate Email address.

Marc Powell marc at ena.com
Fri Apr 27 16:20:50 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Lacayo, Luis F
> Sent: Friday, April 27, 2007 8:57 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Alternate Email address.
> 
> HI All,
> 
> I was wondering if itwould be possible to have nagios send a message
to
> TWO (2) different email addresses for the same contact.  I remember
> reading about email2 to email6 but I can's seem to find how this is
> accomplished.   Any help is greatly appriciated.

If you're using /bin/mail(x) as your notification command you can just
specify a comma separated list of e-mail addresses since it accepts that
format.

define contact{
        contact_name                    somename
        alias                           Multi-Contact
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    c,r
        host_notification_options       d,r
        service_notification_commands   service-notify-by-email
        host_notification_commands      host-notify-by-email
        email
address1 at domain.foo,address2 at domain.foo,...
        }

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list