Why not just have a /usr/local/nagios/etc/ipv6.txt and a ping.sh that look in this file for the ipv4 address and get a ipv6 andress and ping6 that address?
On Fri, 2011-06-10 at 13:05 +0200, Andreas Ericsson wrote: > 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. >
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ 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