Extra-Opts configuration file location(s)

Michael Friedrich michael.friedrich at gmail.com
Wed Jun 18 10:56:52 CEST 2014


On 18.06.2014 10:51, Holger Weiß wrote:
> In the upcoming Monitoring Plugins release, the Extra-Opts feature will
> be enabled by default.  See:
> 
> 	https://www.monitoring-plugins.org/doc/extra-opts.html
> 
> The configuration file used by that feature can be specified on the
> command line or via an environment variable.  If neither is done, a list
> of default locations is searched.
> 
> I'd like to change the environment variable used for this purpose:
> Currently, NAGIOS_CONFIG_PATH can be set to a colon-separated list of
> directories to be searched.  I think that's overkill and would prefer an
> MP_CONFIG_FILE variable that points to a single file path instead.  If
> nobody objects, I'll update the code and documentation accordingly.
> Either way, we'll continue to support NAGIOS_CONFIG_PATH for
> compatibility, at least for a while.

+1

go for it. every hardcoded string pointing to nagios will confuse users.
and it certainly is time to forget about nagios.




-- 
DI (FH) Michael Friedrich

michael.friedrich at gmail.com  || icinga open source monitoring
https://twitter.com/dnsmichi || lead core developer
dnsmichi at jabber.ccc.de       || https://www.icinga.org/team
irc.freenode.net/icinga      || dnsmichi



More information about the Devel mailing list