diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-03-08 18:34:36 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-03-08 18:34:36 +0000 |
commit | 838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a (patch) | |
tree | 919cc9799839855a1f07628b9e1f85a52f69954f /nagios/resource.cfg | |
parent | Script nolonger required (diff) | |
download | config-838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a.tar.bz2 config-838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a.tar.xz config-838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a.zip |
Add Nagios config
Diffstat (limited to 'nagios/resource.cfg')
-rw-r--r-- | nagios/resource.cfg | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nagios/resource.cfg b/nagios/resource.cfg new file mode 100644 index 0000000..035468f --- /dev/null +++ b/nagios/resource.cfg @@ -0,0 +1,33 @@ +########################################################################### +# +# RESOURCE.CFG - Sample Resource File for Nagios 4.4.3 +# +# +# 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 256 $USERx$ macros ($USER1$ through $USER256$) +# +# 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/lib64/nagios/plugins + +# Sets $USER2$ to be the path to event handlers +#$USER2$=/usr/lib64/nagios/plugins/eventhandlers + +# Store some usernames and passwords (hidden from the CGIs) +#$USER3$=someuser +#$USER4$=somepassword + |