| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
understands <Group> and <Client> tags, rather than the client-specific
Properties/NagiosGen.xml and the group-specific but limited
NagiosGen/parents.xml. Includes schema and bcfg2-lint updates
necessary. Wrote conversion tool, nagiosgen-convert.py, which
converts everything but the <default/> tag in the old NagiosGen.xml,
which cannot be reasonably converted to StructFile format.
Also removed a _lot_ of string modification in NagiosGen.py, which
should make it a fair bit faster.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.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).
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5974 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
| |
This commit forces the user to specify <Path> entries on the server
side while still maintaining compatibility with old clients via the
POSIXCompat plugin.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5582 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5384 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
(Patch from Nico Halpern)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5379 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
- define new plugin base classes
- switch Plugin.__name__ => Plugin.name
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5004 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4937 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4929 ce84e21b-d406-0410-9b95-82705330c041
|
|
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4928 ce84e21b-d406-0410-9b95-82705330c041
|