diff options
author | Julien Dessaux | 2017-09-19 17:55:40 +0200 |
---|---|---|
committer | Julien Dessaux | 2017-09-21 16:21:41 +0200 |
commit | 142820653f8d6a3fffacc9acde09ca74e22892bf (patch) | |
tree | 3518ffe3ca11318cd70b88c6ab8ff26b79ea45f1 /templates/nagios/resource.cfg | |
parent | Fixed docker permissions for user julien (diff) | |
download | masterfiles-142820653f8d6a3fffacc9acde09ca74e22892bf.tar.gz masterfiles-142820653f8d6a3fffacc9acde09ca74e22892bf.tar.bz2 masterfiles-142820653f8d6a3fffacc9acde09ca74e22892bf.zip |
Finished adding nagios policy along with simple nginx policy
Diffstat (limited to '')
-rw-r--r-- | templates/nagios/resource.cfg | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/nagios/resource.cfg b/templates/nagios/resource.cfg new file mode 100644 index 0000000..b9f3f2e --- /dev/null +++ b/templates/nagios/resource.cfg @@ -0,0 +1,33 @@ +########################################################################### +# +# RESOURCE.CFG - Sample Resource File for Nagios 4.3.2 +# +# +# 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/local/libexec/nagios + +# Sets $USER2$ to be the path to event handlers +#$USER2$=/usr/local/libexec/nagios/eventhandlers + +# Store some usernames and passwords (hidden from the CGIs) +#$USER3$=someuser +#$USER4$=somepassword + |