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

sean finney seanius at seanius.net
Tue Jan 30 09:23:36 CET 2007


On Tue, 2007-01-30 at 01:06 -0500, Thomas Guyot-Sionnest wrote:
> I missed the discussion, but I noted some people are trying to set
> environment variables as well. Could this method allow setting
> environment variables as well?
> 
> ex (proposal):
> 
> [check_stuff]
> ENV {
>   STUFF_NAME=foo
>   STUFF_BLAH='foo bar'
> }
> range=12:20

i'd like to make the suggestion that if we do this, instead of using the
block-within-braces syntax (which doesn't aesthetically fit well with
the ini format imo and would be harder to parse), we do something like

[check_stuff]
	env STUFF_NAME=foo
	env STUFF_BLAH='foo bar'
	range=12:20

furthermore, you example brought up an issue which will need to be
clarified... what's the specification for parsing quotes?

i haven't been spending my fair share of time with n-p lately, so i'll
volunteer to do the C side of this if there's agreement on the
nitty-gritty...


	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: <https://www.monitoring-plugins.org/archive/devel/attachments/20070130/645605d6/attachment.sig>


More information about the Devel mailing list