1###########################################################################
2#
3# RESOURCE.CFG - Sample Resource File for Nagios @VERSION@
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# The CGIs will not attempt to read the contents of resource files, so
15# you can set restrictive permissions (600 or 660) on them.
16#
17# Nagios supports up to 256 $USERx$ macros ($USER1$ through $USER256$)
18#
19# Resource files may also be used to store configuration directives for
20# external data sources like MySQL...
21#
22###########################################################################
23
24# Sets $USER1$ to be the path to the plugins
25$USER1$=@libexecdir@
26
27# Sets $USER2$ to be the path to event handlers
28#$USER2$=@libexecdir@/eventhandlers
29
30# Store some usernames and passwords (hidden from the CGIs)
31#$USER3$=someuser
32#$USER4$=somepassword
33
34