check_ping from 2 interfaces

Marco Ciullini marco.ciullini at datamar.it
Thu Sep 18 09:06:39 CEST 2003


thank you!
I will test it ASAP.

> 	Here it goes.  Have fun.
> 
> 	You might have some portability problems, but the major part is done. 
> I used nagios-plugins-1.3.0.
> 
> [thiago at careca plugins]$ ./check_ping -v -H demeter -w 100,50% -c
> 200,80% -I eth0
> 
> /bin/ping -n -U -c 5 demeter -I eth0 ==> PING OK - Packet
> loss = 0%, RTA = 0.24 ms 100.000000:50% 200.000000:80%
> 
> 
> Files description:
> check_ping.c.diff: patch for check_ping.c (1.3.0) and my modified
> check_ping-interface.c
> 
> config.h: changes needed in config.h (PING_COMMAND)
> 
> check_ping-interface.c: my modified version of check_ping.c
> 
> Regards,
> 

-- 
Marco Ciullini



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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