Check_ping options not built in - use ping?

Andreas Ericsson ae at op5.se
Thu Jun 16 12:12:40 CEST 2005


Dave Stubbs wrote:
> Hello all,
> 
> I need to be able to specify a source address for check_ping when 
> querying certain hosts.  The ping command has this option with -I (see 
> man ping).  Is there any way to do this with check_ping?  Does 
> check_ping have the ping command built into itself?  Or does it call the 
> ping binary?
> 

check_ping calls the ping binary. check_icmp has it built-in. It's 
fairly easy to write such spoofing code when one has access to raw 
sockets, but I never saw the need for it in a good honest application. 
If you could sketch out the basics of your network setup and provide a 
decent reason why the source IP should be user-definable I might add it 
to check_icmp.

> Dave...
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list