Design recommendation

Frank Altpeter frank.altpeter at gmail.com
Fri Nov 24 13:00:05 CET 2006


Hi again,

2006/11/24, Ingo Lantschner <ingo.lists at vum.at>:
> 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 ...

Well, but my point in writing this one was the part "Each host group
has a contact_groups option" which doesn't seem to match the current
nagios functionality, because the synax check complains if i add a
contact_groups option to a hostgroup definition. So these both
sentences don't make sense for me.

> > ... 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!).
Me too... because if i really have to split up each service, it would
take me quite some days to restructure the whole nagios configuration
for that.
And it would make it nearly impossible to manage them in the future,
even though i  could use the template feature (services with "register
0") for easier management (which still would require one check for
each hostgroup that needs different contact_groups settings, which
would currently blow up the total of service definitions up to 5 times
of the current amount).

> > 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!

Thanks anyway for you input, and i hope there will be some more
opinions on that topic...


-- 
Le deagh dhùraghd,

        Frank Altpeter

Two of the most famous products of Berkeley are LSD and Unix.
I don't think that this is a coincidence.
        -- Anonymous

-------------------------------------------------------------------------
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