summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-06-18 11:06:42 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-06-18 11:06:42 (GMT)
commitb17e25f041dcfb2a4bdf9a01f53bb472f51bf8b7 (patch)
treec79dba37fc92278fdb69641fb74cb3c97d77a794 /web
parent5956ae880c35e1ab3bf93e79f19972bd169e2139 (diff)
downloadsite-b17e25f041dcfb2a4bdf9a01f53bb472f51bf8b7.tar.gz
extra-opts.md: Update configuration file locations
The list of default configuration file path names used by the Extra-Opts feature has changed. And so has the environment variable that can be used to specify the location.
Diffstat (limited to 'web')
-rw-r--r--web/input/doc/extra-opts.md19
1 files changed, 7 insertions, 12 deletions
diff --git a/web/input/doc/extra-opts.md b/web/input/doc/extra-opts.md
index 6c96c3a..1c21575 100644
--- a/web/input/doc/extra-opts.md
+++ b/web/input/doc/extra-opts.md
@@ -41,18 +41,13 @@ Some examples:
41The default nagios plugins file is used if no explicit filename is given. The 41The default nagios plugins file is used if no explicit filename is given. The
42current standard locations checked are: 42current standard locations checked are:
43 43
44* `/etc/nagios/plugins.ini` 44* `/usr/local/etc/monitoring-plugins/monitoring-plugins.ini`
45* `/usr/local/nagios/etc/plugins.ini` 45* `/usr/local/etc/monitoring-plugins.ini`
46* `/usr/local/etc/nagios/plugins.ini` 46* `/etc/monitoring-plugins/monitoring-plugins.ini`
47* `/etc/opt/nagios/plugins.ini` 47* `/etc/monitoring-plugins.ini`
48* `/etc/nagios-plugins.ini` 48
49* `/usr/local/etc/nagios-plugins.ini` 49To use a custom location, set the `MP_CONFIG_FILE` environment variable to the
50* `/etc/opt/nagios-plugins.ini` 50desired path name.
51
52To use a custom location, set a `NAGIOS_CONFIG_PATH` environment variable to
53the set of directories that should be checked (this is a colon-separated list
54just like `PATH`). The first `plugins.ini` or `nagios-plugins.ini` file found
55in these directories will be used.
56 51
57To specify an option without parameter, you can use a key without value, but 52To specify an option without parameter, you can use a key without value, but
58the equal sign must remain, for example: 53the equal sign must remain, for example: