From b17e25f041dcfb2a4bdf9a01f53bb472f51bf8b7 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 18 Jun 2014 13:06:42 +0200 Subject: 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. 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: The default nagios plugins file is used if no explicit filename is given. The current standard locations checked are: -* `/etc/nagios/plugins.ini` -* `/usr/local/nagios/etc/plugins.ini` -* `/usr/local/etc/nagios/plugins.ini` -* `/etc/opt/nagios/plugins.ini` -* `/etc/nagios-plugins.ini` -* `/usr/local/etc/nagios-plugins.ini` -* `/etc/opt/nagios-plugins.ini` - -To use a custom location, set a `NAGIOS_CONFIG_PATH` environment variable to -the set of directories that should be checked (this is a colon-separated list -just like `PATH`). The first `plugins.ini` or `nagios-plugins.ini` file found -in these directories will be used. +* `/usr/local/etc/monitoring-plugins/monitoring-plugins.ini` +* `/usr/local/etc/monitoring-plugins.ini` +* `/etc/monitoring-plugins/monitoring-plugins.ini` +* `/etc/monitoring-plugins.ini` + +To use a custom location, set the `MP_CONFIG_FILE` environment variable to the +desired path name. To specify an option without parameter, you can use a key without value, but the equal sign must remain, for example: -- cgit v0.10-9-g596f