source: nagios/resource.cfg@ 318

Last change on this file since 318 was 202, checked in by Rick van der Zwet, 14 years ago

Nagios config files

File size: 1.3 KB
RevLine 
[202]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
Note: See TracBrowser for help on using the repository browser.