> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Artyom Khmelnitsky
> Sent: Sunday, January 21, 2007 5:15 PM
> To: [email protected]
> Subject: [Nagios-users] Adding contacts
>
> Hello,
>
> Is it possible to declare multiple email contacts for a single
contact?
> For instance:
>
> email [EMAIL PROTECTED], [EMAIL PROTECTED]
Yes, if your notification command supports it. For example, /bin/mail,
the standard mail program used in notifications, expects multiple
addresses to use multiple -c or -b args --
mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr...
In your example, you could pass $CONTACTEMAIL$ to a wrapper script that
split the comma separated addresses, used one as the to-addr and created
appropriate -c args for the rest before calling /bin/mail.
The other recommendation for multiple contacts in a group is usually
easier for most.
--
Marc
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
[email protected]
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