aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/templates
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 07:45:22 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 08:02:15 +0200
commit0363f38e186b8c942a6db2de4974befbc373f618 (patch)
tree4c3b08bface133b92748f33bfdb0c58065433a91 /modules/profile/templates
parentbff7d1b743bc2239d7ce7ced37dd03e4e846c03d (diff)
downloadPuppet-0363f38e186b8c942a6db2de4974befbc373f618.tar.gz
Puppet-0363f38e186b8c942a6db2de4974befbc373f618.tar.zst
Puppet-0363f38e186b8c942a6db2de4974befbc373f618.zip
Refactor a bit monitoring profile
Diffstat (limited to 'modules/profile/templates')
-rw-r--r--modules/profile/templates/monitoring/naemon.cfg.erb2
-rw-r--r--modules/profile/templates/monitoring/resource.cfg.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/templates/monitoring/naemon.cfg.erb b/modules/profile/templates/monitoring/naemon.cfg.erb
index 78bada3..bacbe04 100644
--- a/modules/profile/templates/monitoring/naemon.cfg.erb
+++ b/modules/profile/templates/monitoring/naemon.cfg.erb
@@ -26,7 +26,7 @@ log_file=/var/log/naemon/naemon.log
26# if you wish (as shown below), or keep them all in a single config file. 26# if you wish (as shown below), or keep them all in a single config file.
27 27
28# You can specify individual object config files as shown below: 28# You can specify individual object config files as shown below:
29cfg_file=/etc/naemon/objects.cfg 29cfg_file=<%= @objects %>
30#cfg_file=/etc/naemon/objects/commands.cfg 30#cfg_file=/etc/naemon/objects/commands.cfg
31#cfg_file=/etc/naemon/objects/contacts.cfg 31#cfg_file=/etc/naemon/objects/contacts.cfg
32#cfg_file=/etc/naemon/objects/timeperiods.cfg 32#cfg_file=/etc/naemon/objects/timeperiods.cfg
diff --git a/modules/profile/templates/monitoring/resource.cfg.erb b/modules/profile/templates/monitoring/resource.cfg.erb
index 7da5e66..5a5c3ee 100644
--- a/modules/profile/templates/monitoring/resource.cfg.erb
+++ b/modules/profile/templates/monitoring/resource.cfg.erb
@@ -20,7 +20,7 @@
20 20
21# Sets $USER1$ to be the path to the plugins 21# Sets $USER1$ to be the path to the plugins
22$USER1$=/usr/lib/monitoring-plugins 22$USER1$=/usr/lib/monitoring-plugins
23$USER2$=/etc/naemon/monitoring-plugins 23$USER2$=<%= @plugins %>
24 24
25# Sets $USER2$ to be the path to event handlers 25# Sets $USER2$ to be the path to event handlers
26#$USER2$=/usr/lib/monitoring-plugins/eventhandlers 26#$USER2$=/usr/lib/monitoring-plugins/eventhandlers