[Nagiosplug-devel] [RFC] Plugins config file

sean finney seanius at seanius.net
Tue Oct 17 10:05:58 CEST 2006


hi gavin,

On Tue, 2006-10-17 at 13:08 +1000, Gavin Carr wrote:
> Because:

yes, i realized this after i had sent my mail, but thought that i had
perhaps flooded the list with too many emails[1] already, so a "to
answer my own question" email wasn't appropriate :)


> I'm wary of the additional complexity too. But I do think we need _some_
> mechanism like this for parameters we don't want to pass on the command 
> line, and I can't think of anything simpler that is reasonably general and
> useful. What did you end up doing in your snmp auth info case?

iirc i just wrote a wrapper script because a consensus couldn't be
reached at the time and i had better things to do.

> I think these two together argue that this would be useful infrastructure 
> we could supply to plugin authors.

if we were to do this, i would say it should supercede/deprecate use of
most stuff we currently have in utils.pm (that is the "settings" in
utils.pm would be moved out).  

*but*... i still have strong reservations about this.  could you comment
on the other proposal that was brought up about reading extra cmdline
arguments are stored in a file?  i think that's a lot simpler, is just
as general (more, even), and doesn't involve introducing a new point of
configuration.


	sean

[1] i'm on temporary hiatus from my preferred MUA, and thus lacking the
"tagged group reply" feature.
-------------- 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/20061017/0986bc46/attachment.sig>


More information about the Devel mailing list