diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-06-04 12:28:08 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-06-04 12:30:09 -0500 |
commit | 8cc08eb59ddd87e32b67be4551f29af56f359eda (patch) | |
tree | 397c04b600c49296fbeb69cf5ba9d8fed30f1da7 /doc | |
parent | f4bb86dee4e578d761d3161db30cd55b22c4142d (diff) | |
download | bcfg2-8cc08eb59ddd87e32b67be4551f29af56f359eda.tar.gz bcfg2-8cc08eb59ddd87e32b67be4551f29af56f359eda.tar.bz2 bcfg2-8cc08eb59ddd87e32b67be4551f29af56f359eda.zip |
NagiosGen: Create empty config.xml when missing
This allows new users to get setup more quickly without having to worry
about the tweaking capabilities available in config.xml.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/plugins/generators/nagiosgen.txt | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/server/plugins/generators/nagiosgen.txt b/doc/server/plugins/generators/nagiosgen.txt index db0a06d9f..f722909fc 100644 --- a/doc/server/plugins/generators/nagiosgen.txt +++ b/doc/server/plugins/generators/nagiosgen.txt @@ -18,13 +18,9 @@ Create the NagiosGen directory:: $ mkdir /var/lib/bcfg2/NagiosGen -Create an empty config.xml:: - - $ echo "<NagiosGen></NagiosGen>" >> /var/lib/bcfg2/NagiosGen/config.xml - Create default host, and group specs in: -* /var/lib/bcfg2/NagiosGen/default-host.cfg:: +``/var/lib/bcfg2/NagiosGen/default-host.cfg``:: define host{ name default @@ -48,7 +44,7 @@ Create default host, and group specs in: retry_interval 1 } -* /var/lib/bcfg2/NagiosGen/default-group.cfg:: +``/var/lib/bcfg2/NagiosGen/default-group.cfg``:: define service{ name default-service @@ -77,7 +73,7 @@ Create default host, and group specs in: Create group configuration files (Named identical to Bcfg2 groups) and add services, and commands specific to the hostgroup (Bcfg2 group) in -* /var/lib/bcfg2/NagiosGen/base-group.cfg:: +``/var/lib/bcfg2/NagiosGen/base-group.cfg``:: define hostgroup{ hostgroup_name base @@ -104,7 +100,7 @@ add services, and commands specific to the hostgroup (Bcfg2 group) in hostgroup_name base } -* /var/lib/bcfg2/NagiosGen/web-server-group.cfg:: +``/var/lib/bcfg2/NagiosGen/web-server-group.cfg``:: define hostgroup{ hostgroup_name web-server |