[Nagiosplug-devel] [RFC] Plugins config file

John P. Rouillard rouilj at cs.umb.edu
Thu Oct 19 02:15:57 CEST 2006


In message <077F1B782014ED48A58E7927914D36A0022429C4 at fai01500.bhs.bannerhealth.
com>,
"Vonnahme, Nathan" writes:

>> -----Original Message-----
>> From: nagiosplug-devel-bounces at lists.sourceforge.net 
>> [mailto:nagiosplug-devel-bounces at lists.sourceforge.net] On 
>> Behalf Of John P. Rouillard
>> Sent: Wednesday, October 18, 2006 7:21 AM
>> Well, # has special meaning to the shell. And you may be trying to
>> pass this argument across systems using ssh or other mechanism which
>> makes getting the quotes really tricky. Hence # $ are bad
>> choices. However maybe '/path/to/file at stanzaname' works since it is
>> using the entry in the file AT stanzaname.
>
>Wouldn't stanza@/path/to/file be more logical?

that works as well.

>Perhaps a CGIish questionmark would work?
>	--extra-opts=/path/to/file?stanzaname

The ? is a wild card in shell.

>Actually it would probably be clearer and more memorable to have two
>optional options, so you can omit one easily:
>	--cfg-file=/path/to/file --cfg-stanza=stanzaname

Also a valid implementation.

				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.




More information about the Devel mailing list