On 06/09/2011 08:07 PM, Michael Friedrich wrote: > -------- Original Message -------- > >> If this patch had been accompanied by something to make conditional >> macros and command_line arguments work, I'd have cheered all the way >> though. > > I don't really get it what you mean - can you explain that a bit more? >
Sure. If there was some way to configure Nagios so that certain command arguments were only expanded if the number of arguments to the check matches a certain criteria, one could write checks that don't pass half baked argument strings to the plugins, and the complexity would be handled in one place. That would actually gain something, rather than making "address6" an official variable, which gains nothing compared to using a custom variable, but breaks the abi even so. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null