diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-04 22:54:49 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-04 22:54:49 +0200 |
commit | b74ea32070492c251943d69a09265463cc9866ed (patch) | |
tree | 080bd9c8eb0b53491e118bdfed29f7cd61126bfe /config/old/resource.cfg | |
download | pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.gz pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.bz2 pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.xz pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.zip |
Cleaned configuration for PDV infrastructure (incomplete) integrated with my Conky monitoring scriptsHEADmaster
Diffstat (limited to 'config/old/resource.cfg')
-rw-r--r-- | config/old/resource.cfg | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/config/old/resource.cfg b/config/old/resource.cfg new file mode 100644 index 0000000..06c26f1 --- /dev/null +++ b/config/old/resource.cfg @@ -0,0 +1,36 @@ +########################################################################### +# +# RESOURCE.CFG - Sample Resource File for Nagios 3.3.1 +# +# Last Modified: 09-10-2003 +# +# 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 +$USER2$=/opt/nagios/ + + +# 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 + |