]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blob - modules/profile/templates/monitoring/resource.cfg.erb
Refactor a bit monitoring profile
[perso/Immae/Projets/Puppet.git] / modules / profile / templates / monitoring / resource.cfg.erb
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