diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-06-18 11:06:42 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-06-18 11:06:42 (GMT) |
commit | b17e25f041dcfb2a4bdf9a01f53bb472f51bf8b7 (patch) | |
tree | c79dba37fc92278fdb69641fb74cb3c97d77a794 /web/input/doc | |
parent | 5956ae880c35e1ab3bf93e79f19972bd169e2139 (diff) | |
download | site-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/input/doc')
-rw-r--r-- | web/input/doc/extra-opts.md | 19 |
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: | |||
41 | The default nagios plugins file is used if no explicit filename is given. The | 41 | The default nagios plugins file is used if no explicit filename is given. The |
42 | current standard locations checked are: | 42 | current 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` | 49 | To use a custom location, set the `MP_CONFIG_FILE` environment variable to the |
50 | * `/etc/opt/nagios-plugins.ini` | 50 | desired path name. |
51 | |||
52 | To use a custom location, set a `NAGIOS_CONFIG_PATH` environment variable to | ||
53 | the set of directories that should be checked (this is a colon-separated list | ||
54 | just like `PATH`). The first `plugins.ini` or `nagios-plugins.ini` file found | ||
55 | in these directories will be used. | ||
56 | 51 | ||
57 | To specify an option without parameter, you can use a key without value, but | 52 | To specify an option without parameter, you can use a key without value, but |
58 | the equal sign must remain, for example: | 53 | the equal sign must remain, for example: |