1 | ###########################################################################
|
---|
2 | #
|
---|
3 | # RESOURCE.CFG - Sample Resource File for Nagios 3.2.2
|
---|
4 | #
|
---|
5 | # Last Modified: 09-10-2003
|
---|
6 | #
|
---|
7 | # You can define $USERx$ macros in this file, which can in turn be used
|
---|
8 | # in command definitions in your host config file(s). $USERx$ macros are
|
---|
9 | # useful for storing sensitive information such as usernames, passwords,
|
---|
10 | # etc. They are also handy for specifying the path to plugins and
|
---|
11 | # event handlers - if you decide to move the plugins or event handlers to
|
---|
12 | # a different directory in the future, you can just update one or two
|
---|
13 | # $USERx$ macros, instead of modifying a lot of command definitions.
|
---|
14 | #
|
---|
15 | # The CGIs will not attempt to read the contents of resource files, so
|
---|
16 | # you can set restrictive permissions (600 or 660) on them.
|
---|
17 | #
|
---|
18 | # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$)
|
---|
19 | #
|
---|
20 | # Resource files may also be used to store configuration directives for
|
---|
21 | # external data sources like MySQL...
|
---|
22 | #
|
---|
23 | ###########################################################################
|
---|
24 |
|
---|
25 | # Sets $USER1$ to be the path to the plugins
|
---|
26 | $USER1$=/usr/local/libexec/nagios
|
---|
27 |
|
---|
28 | # Sets $USER2$ to be the path to event handlers
|
---|
29 | #$USER2$=/usr/local/libexec/nagios/eventhandlers
|
---|
30 |
|
---|
31 | # Store some usernames and passwords (hidden from the CGIs)
|
---|
32 | #$USER3$=someuser
|
---|
33 | #$USER4$=somepassword
|
---|
34 |
|
---|