Contactgroups : host vs services
Hendrik Baecker
b00mer at gmx.net
Thu Apr 7 22:40:04 CEST 2005
Hello,
many choices.... ;)
1) You can define 30 Services for the same check but different
contactgroups = many to type
2) If you have 30 Services and want to deal with a hand full of
contactgroups define a hand full of service templates with this hand
full of contactgroups
3) AFAIK you don't realy apply services to hostgroups... to your hosts
ok, but hostgroups?
The contactgroups in your hostgroup definition will be the target if you
have a host alert but not on a service alert (so under Nagios <2.x)
My suggestion: Read the docs about templates in your object configfiles,
since Nagios 1.1 (I think) you can use them and they are realy usefull.
Hendrik
Vanhee Frederik schrieb:
> Hello,
>
> to explain my problem, I will simplify it.
>
> Let's say I have two hosts : host1 and host2 and on these two hosts 1
> service is checked, for example cpu load
>
> host1 has contactgroup host1admins
> host2 has contactgroup host2admins
>
> service cpu-load is defined in common for the 2 hosts, contactgroup =
> host1admins,host2admins
>
> My problem, when the service cpu-load on host1 is not-ok, I want
> host1admins to be alerted, when the cpu-load on host2 is not-ok, I
> want host2admins to be alerted.
> Is there a way to filter out service-notifications that notifications
> are only sent when to the contactgroups that belong to the host and
> the service ?
>
> Or any other ideas ? The real problem is that my service is defined
> once and applied to 30 hostgroups (with their contactgroups).
>
> Thank in advance,
>
> Frederik
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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