Removing 1 inheritance
mail at catsnest.co.uk
mail at catsnest.co.uk
Wed Aug 10 10:51:08 CEST 2011
On Wed, Aug 10, 2011 at 9:01 AM, Tom Sommer <mail at tomsommer.dk> wrote:
> Hi,
>
> I have a default service, which all my services inherit their
> contact_groups from.
>
> Now I want to exclude 1 group from the inheritance, like so:
>
>
> define service {
> use generic-service
> ....
> contact_groups -ondutypager
> }
>
This works for hostgroups...
" hostgroups .*,!ondutypager"
eg use '!' instead of '-'
Ritchie,
--
<-- http://23.me.uk/2 -->
<--Time flies like an arrow; fruit flies like a banana. -->
> The - operator doesn't work, whereas the + operator does (add 1 item to
> the inheritance), are there any workaround to this?
>
> Thanks
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at: http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
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