diff options
author | Micah Anderson <micah@riseup.net> | 2011-04-11 12:30:51 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2011-04-11 12:30:51 -0400 |
commit | 7735baa65f0dc37f94d4854fd62c817de94d64f2 (patch) | |
tree | 1a4e7a70e27897e08e0e0bb754b4b4d1f2889967 /files/configs/Debian/private/resource.cfg.amd64 | |
parent | 2f2eb1cb12a57d8a85801086b6fbfce19e9c7a1b (diff) | |
parent | f2df62c9d17d481a3d616a4f2de9496638fadc0a (diff) |
Merge commit 'f2df62c9d17d481a3d616a4f2de9496638fadc0a'
Conflicts:
manifests/defaults/commands.pp
Diffstat (limited to 'files/configs/Debian/private/resource.cfg.amd64')
-rw-r--r--[l---------] | files/configs/Debian/private/resource.cfg.amd64 | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/files/configs/Debian/private/resource.cfg.amd64 b/files/configs/Debian/private/resource.cfg.amd64 index 4d5f0a3..3ed732b 120000..100644 --- a/files/configs/Debian/private/resource.cfg.amd64 +++ b/files/configs/Debian/private/resource.cfg.amd64 @@ -1 +1,31 @@ -resource.cfg.i386
\ No newline at end of file +########################################################################### +# +# RESOURCE.CFG - Resource File for Nagios +# +# 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 +# useful for storing sensitive information such as usernames, passwords, +# etc. They are also handy for specifying the path to plugins and +# 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. +# +# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) +# +# 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$=/usr/lib/nagios/plugins + +# Sets $USER2$ to be the path to event handlers +#$USER2$=/usr/lib/nagios/plugins/eventhandlers + +# Store some usernames and passwords (hidden from the CGIs) +#$USER3$=someuser +#$USER4$=somepassword |