Design recommendation
Ingo Lantschner
ingo.lists at vum.at
Fri Nov 24 11:42:33 CET 2006
Frank Altpeter schrieb:
> The problem now is, that i need to have _some_ of these servers to use
> other contact_group settings because there are customers that want to
> receive notifications about their hosts and services.
> Now, i checked the documentation where i found the following:
>
> "Each host may belong to one or more host groups. Each host group has
> a <contact_groups> option that specifies what contact groups receive
> notifications for hosts in that particular host group. " (taken from
> http://nagios.sourceforge.net/docs/2_0/notifications.html)
Well the next sentence says: "When Nagios sends out a host notification,
it will notify contacts that are members of all the contact groups that
that should be notified for any and all host groups that the host is a
member of."
I guess the point is _host_ in "sends out a host notification". So what
you can do is ...
> ... adding the same service
> definition one more time for this host only, with different
> contact_groups setting...
I am afraid, this is what you have to do. At least I did not find a
better solution for this yet. (But I would be very interested in hearing
about it!).
> The problem can be solved easily for the host itself, since the host
> definition allows the contact_groups setting, but that is AFAIK only
> valid for the host and does not get inherited from depending service
> definitions (which would be a great invention IMHO).
I agree!
hth, Ingo.
-------------------------------------------------------------------------
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
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