On Wed, Aug 10, 2011 at 9:01 AM, Tom Sommer 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@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@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