aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/templates/monitoring/resource.cfg.erb
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 09:31:24 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 09:31:24 +0200
commit2bdbb0213a0f70705f81ac2eaf8349668b2c29b4 (patch)
tree06b1e40db99815133dcc40e3e68531d45e1bd228 /modules/profile/templates/monitoring/resource.cfg.erb
parent25c99a635507abfe6af4a1f0a9fc5a103d1880c0 (diff)
parentd8bc769648c1528f5d749deee060d70e326ef431 (diff)
downloadPuppet-2bdbb0213a0f70705f81ac2eaf8349668b2c29b4.tar.gz
Puppet-2bdbb0213a0f70705f81ac2eaf8349668b2c29b4.tar.zst
Puppet-2bdbb0213a0f70705f81ac2eaf8349668b2c29b4.zip
Merge branch 'monitoring' into dev
Diffstat (limited to 'modules/profile/templates/monitoring/resource.cfg.erb')
-rw-r--r--modules/profile/templates/monitoring/resource.cfg.erb30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/profile/templates/monitoring/resource.cfg.erb b/modules/profile/templates/monitoring/resource.cfg.erb
new file mode 100644
index 0000000..5a5c3ee
--- /dev/null
+++ b/modules/profile/templates/monitoring/resource.cfg.erb
@@ -0,0 +1,30 @@
1###########################################################################
2#
3# RESOURCE.CFG - Sample Resource File for Naemon 1.0.7
4#
5#
6# You can define $USERx$ macros in this file, which can in turn be used
7# in command definitions in your host config file(s). $USERx$ macros are
8# useful for storing sensitive information such as usernames, passwords,
9# etc. They are also handy for specifying the path to plugins and
10# event handlers - if you decide to move the plugins or event handlers to
11# a different directory in the future, you can just update one or two
12# $USERx$ macros, instead of modifying a lot of command definitions.
13#
14# Naemon supports up to 256 $USERx$ macros ($USER1$ through $USER256$)
15#
16# Resource files may also be used to store configuration directives for
17# external data sources like MySQL...
18#
19###########################################################################
20
21# Sets $USER1$ to be the path to the plugins
22$USER1$=/usr/lib/monitoring-plugins
23$USER2$=<%= @plugins %>
24
25# Sets $USER2$ to be the path to event handlers
26#$USER2$=/usr/lib/monitoring-plugins/eventhandlers
27
28# Store some usernames and passwords (hidden from the CGIs)
29#$USER3$=someuser
30#$USER4$=somepassword