nagios4/sample-config/resource.cfg.in

34 lines
1.3 KiB
INI
Raw Normal View History

2017-05-19 22:22:40 +02:00
###########################################################################
#
# RESOURCE.CFG - Sample Resource File for Nagios @VERSION@
#
#
# You can define $USERx$ macros in this file, which can in turn be used
# in command definitions in your host config file(s). $USERx$ macros are
2019-04-18 17:09:18 +02:00
# useful for storing sensitive information such as usernames, passwords,
# etc. They are also handy for specifying the path to plugins and
2017-05-19 22:22:40 +02:00
# event handlers - if you decide to move the plugins or event handlers to
# a different directory in the future, you can just update one or two
# $USERx$ macros, instead of modifying a lot of command definitions.
#
# The CGIs will not attempt to read the contents of resource files, so
# you can set restrictive permissions (600 or 660) on them.
#
2019-04-18 17:09:18 +02:00
# Nagios supports up to 256 $USERx$ macros ($USER1$ through $USER256$)
2017-05-19 22:22:40 +02:00
#
# Resource files may also be used to store configuration directives for
# external data sources like MySQL...
#
###########################################################################
# Sets $USER1$ to be the path to the plugins
$USER1$=@libexecdir@
# Sets $USER2$ to be the path to event handlers
#$USER2$=@libexecdir@/eventhandlers
# Store some usernames and passwords (hidden from the CGIs)
#$USER3$=someuser
#$USER4$=somepassword