Krisztian VASAS írta: > Nagios miert nem jo erre? Agyu a verebre, egy negysoros shell scripthez kepest.
> figyel, jelez, ha elmegy a tuloldai host (ugyanis ipsecnel a tuloldal > kulso ipjet is tunelen tolja at). Es ha nem el az ipsec kapcsolat akkor meg az interneten? Igy is, ugy is jon az echo reply, mit nyertem? Most probaltam ki, ipsec auto --down elott is, utan is ping a tuloldal. Raadasul nem is az ipsec0-n megy, most probaltam: localhost:~# ping -I ipsec0 194.24.131.1 PING 194.24.131.1 (194.24.131.1) from 208.112.114.188 ipsec0: 56(84) bytes of data. --- 194.24.131.1 ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 4014ms localhost:~# ping -I eth0 194.24.131.1 PING 194.24.131.1 (194.24.131.1) from 208.112.114.188 eth0: 56(84) bytes of data. 64 bytes from 194.24.131.1: icmp_seq=1 ttl=246 time=112 ms 64 bytes from 194.24.131.1: icmp_seq=2 ttl=246 time=112 ms 64 bytes from 194.24.131.1: icmp_seq=3 ttl=246 time=112 ms --- 194.24.131.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2008ms rtt min/avg/max/mdev = 112.243/112.505/112.669/0.187 ms _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
