diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2011-01-03 21:17:34 -0600 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2011-01-03 21:17:34 -0600 |
commit | 1ae62017ffc2a0783567736573d72b7d16729770 (patch) | |
tree | 4b8d5fb5518a7f7b1e8c2df8c0874c4ccd0b65fa /doc/client/tools/index.txt | |
parent | 71bb583ac04ff1c52e03d69a91bbb508783566f8 (diff) | |
download | bcfg2-1ae62017ffc2a0783567736573d72b7d16729770.tar.gz bcfg2-1ae62017ffc2a0783567736573d72b7d16729770.tar.bz2 bcfg2-1ae62017ffc2a0783567736573d72b7d16729770.zip |
NagiosGen: Dependency support (from Stéphane Graber <stgraber@ubuntu.com>)
From the patch description:
As we have several hundred machines in Bcfg2 at work and are using NagiosGen
to generate our Nagios configuration, the dependency tree was quite a mess.
The following patch adds support for a 'parents.xml' file in the NagiosGen
directory. This one contains a basic dependency tree like this:
<Depends>
<Depend name='something' on='something-else'>
</Depends>
The plugin will then use this file to add 'parents' tag to nagiosgen.cfg
when possible.
It's being added when generating nagiosgen.cfg instead of when generating the
individual host entries for two reasons:
- To avoid having to wait for a run of bcfg2 on all machines when changing
parents.xml
- To also support dynamic parents for manually added entries in NagiosGen
(example: network equipement).
Diffstat (limited to 'doc/client/tools/index.txt')
0 files changed, 0 insertions, 0 deletions