Re: [Nagios-devel] Inheritance
Posted: Tue Feb 06, 2007 7:17 am
John Relph wrote:
> Christoph Maser writes:
>> -----BEGIN PGP SIGNED MESSAGE-----
>
> See http://httpd.apache.org/docs/2.0/mod/core.html#options
>
> ... if all the options on the Options directive are preceded by a +
> or - symbol, the options are merged. Any options preceded by a + are
> added to the options currently in force, and any options preceded by
> a - are removed from the options currently in force.
>
> Which basically says you can do this:
>
> hostgroups +linux-servers,web-servers
>
I read that to mean "+linux-servers,+web-servers" which would indeed make
sense. Negating should probably be done with '!' to be consistent with
the rest of the nagios configuration.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> Christoph Maser writes:
>> -----BEGIN PGP SIGNED MESSAGE-----
>
> See http://httpd.apache.org/docs/2.0/mod/core.html#options
>
> ... if all the options on the Options directive are preceded by a +
> or - symbol, the options are merged. Any options preceded by a + are
> added to the options currently in force, and any options preceded by
> a - are removed from the options currently in force.
>
> Which basically says you can do this:
>
> hostgroups +linux-servers,web-servers
>
I read that to mean "+linux-servers,+web-servers" which would indeed make
sense. Negating should probably be done with '!' to be consistent with
the rest of the nagios configuration.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]