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

Tobias Klausmann klausman at schwarzvogel.de
Wed Jan 31 15:10:42 CET 2007


Hi! 

First off: Ton, nice RFC, I agree with just about everything, but
I have one or two suggestions.

What about Quoting? are only double quotes (") allowed? what
about ''? Where is quoting needed? I.e. where will whitespace
stripping happen? 

Second, comments. Will leading whitespace on comment lines be
ignored? (I hope so). What about comments on non-comment-lines
like here:

[check_foo]
username = default # temporary, will be change May 6th.

Another corner case is this: Say a plugin has a default username.
Now my defaults file specifies several things, among them the
username I'd like to use. Will there be a provision to get back
at the plugins default (besides explicitly specifying it on the
command line)? I think it would be complicated/non-intuitive to
implement, but maybe it's somebody's killer feature. Still, I
don't need this myself, so shoot it down if you want :)

Besides that, I'm d'accord.

Regards,
Tobias




More information about the Devel mailing list