diff options
Diffstat (limited to 'modules/profile/templates/monitoring/resource.cfg.erb')
-rw-r--r-- | modules/profile/templates/monitoring/resource.cfg.erb | 30 |
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..7da5e66 --- /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$=/etc/naemon/monitoring-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 | ||