On 7/5/06, Ton Voon <[EMAIL PROTECTED]> wrote: > > On 5 Jul 2006, at 10:06, Ben O'Hara wrote: > > > Im looking at adding a ping check from our nagios host to a remote > > host, the nagios machine has a number of interfaces and i want to set > > the source address of the ping to ensure it goes over a specfic link > > (and hence a specific VPN tunnel) > > > > anyone know if this is possible at all? Ive had a look at the code > > for check_ping and it looks like it might be a possibility as its just > > calling the ping binary but rather than reinvent the wheel i thought > > id ask here first. > > > > anyone doing anything like this at present? > > > > would it be a change to check_ping that people would use or would it > > be better to do it elsewhere > > Ben, > > There is a patch that has been submitted on SF for this > functionality: https://sourceforge.net/tracker/index.php? > func=detail&aid=1499641&group_id=29880&atid=397599 > > Unfortunately, this will not be applied into the main plugin code > because it is too painful to parse through all the different > distributions of ping to see if the source address option is supported. >
Cheers for the reply Ton, yes, it probably isnt the best way to do it, im using FreeBSD and ping on there takes -S for source address, -l is preload. > However, it is very useful functionality. If you can provide a patch > for check_icmp (the pure C implementation of check_ping), we would > definitely re-evaluate it. A bit beyond my knowledge im afraid, but it does sound like other people would find it useful if anyone manages to code something up ;-) Ben > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 > -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list [email protected] 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
