Hiding service checks from certain contact_groups ...

Yueh-Hung Liu yuehung.liu at gmail.com
Thu Mar 24 02:48:04 CET 2011


have you tried to remove the contact_groups on host definitions and
define them on service definitions separately?


On Thu, Mar 24, 2011 at 12:19 AM, Marc Fournier <marc.fournier at cira.ca> wrote:
>
> I'm working on cleaning up our local nagios setup, and one of the things I'd
> like to do is have certain contact_groups see a host, but only certain
> service checks within that host …
> For instance, I have
> Host A, with Service A, B, C, D, E being montored
> I want ContactGroup A to see everything, but ContactGroupB to only see Host
> A (in the Hosts list) and Host A: Service A (in the Services list …
> But, as soon as I add ContactGroup B to the contract_groups directive in the
> host definition for Host A, they see all Services, even though I have
> contract_groups for the Services defined as only being ContactGroup A … So
> the host:contract_groups directive seems to be overriding the
> server:contact_groups directive …
> Is there a way of disabling that, so that it doesn't cascade/override like
> that?
> Thank you …
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
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