Not sure if it helps or not, but you could assign aliases in mail which are the same as the hostname.
Then, in command configuration: /bin/mail $HOSTNAME$ -s Subject Phillips, Dustin B (DBphillips) wrote: > Thanks for the reply but I don’t know that that would help us. The > problem isn’t that we cant select individual contacts. The problem is > our contacts are getting service notifications for hosts that aren’t > assigned to any of their associated contact groups. > > Our scenario: > > “contact1” is assigned to “contactgroup1” > “host1” is assigned to “contactgroup1” > “service1” is assigned to run on “host1”, “host2”, and “host3” and is > assigned to “contactgroup1” > (note: “host2” and “host3” are *not* assigned to “contactgroup1” are > are not otherwise associated to “contact1”) > > In this scenario, why does contact1 get service notifications for > host2 and host3? > > Sorry if I’m making this explanation more complicated than necessary. > > Dustin > > > On 10/22/08 3:41 PM, "Lacayo, Luis F" <[EMAIL PROTECTED]> wrote: > > It is my understanding that Nagios Version 3+ allows you to put > individual contacts per service. > > Luis > > > *From:* Phillips, Dustin B (DBphillips) > [mailto:[EMAIL PROTECTED] > *Sent:* Wednesday, October 22, 2008 1:47 PM > *To:* nagios-users@lists.sourceforge.net > *Subject:* [Nagios-users] Nagios notifications > > Hi -- > > I apologize in advance as this question is difficult to type > without running around in circles but here goes: > > We’re having trouble configuring Nagios service notifications to > go to specific contacts for specific hosts. > > For instance, we have contact1 who is a member of contactgroup1. > We have host1 who also has a contact group of contactgroup1. That > association is working. > > However, we have service1 which runs on host1, host2, and host3, > and has contact groups contactgroup1 and contactgroup2. Whenever > host2, which is not associated with contact1 has a notification > for this service, contact1 is receiving the notification. > > How do we limit notifications for service1 to only go to contact1 > if the host having trouble is host1? > > > Thanks in advance, > > Dustin > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > > E-MAIL CONFIDENTIALITY NOTICE: > > > > > > > > The contents of this e-mail message and > any attachments are intended solely for the > addressee(s) and may contain confidential > and/or legally privileged information. If you > are not the intended recipient of this message > or if this message has been addressed to you > in error, please immediately alert the sender > by reply e-mail and then delete this message > and any attachments. If you are not the > intended recipient, you are notified that > any use, dissemination, distribution, copying, > or storage of this message or any attachment > is strictly prohibited. > > > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users@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