On 23 Mar 2011, at 16:19, Marc Fournier 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?
In Opsview (http://opsview.com), we've patched the Nagios CGIs so it "slices"
exactly as you say: that host membership does not include all services on that
host.
We have this explained here under "Slice services within hosts":
http://labs.opsview.com/2007/09/nagios-patch-day/
We plan on putting this back into core Nagios, but would need to add tests and
haven't found the time yet....
Ton
------------------------------------------------------------------------------
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
[email protected]
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