[Nagiosplug-devel] RFC: Plugins config file (final proposal)

sean finney seanius at seanius.net
Thu Feb 8 08:43:33 CET 2007


hi gavin,

On Thu, 2007-02-08 at 10:21 +1100, Gavin Carr wrote:

> > If @config_filename is missed out, will search for the configuration
> > file in default locations.
> 
> And the default configuration file name is ....
> 
> plugins.cfg?

i would suggest using a different file suffix than cfg, to (a) make it
clear to nagios users that it's a different file format and (b) prevent
nagios from attempting to read it if the file happens to be laying in
a directory that's one of nagios cfg_dir entries.

as for the location, i'd suggest
${config_prefix}/nagios-plugins/plugins.ini, but it's not something i
feel horrible about (as long as it's an absolute pathname and easy to
change)



	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://nagios-plugins.org/archive/devel/attachments/20070208/86a229c6/attachment.sig>


More information about the Devel mailing list