[Nagiosplug-devel] Re[2]: [Nagios-devel] question about check_ping

Karl DeBisschop karl at debisschop.net
Wed Apr 23 07:29:32 CEST 2003


On Wed, 2003-04-23 at 02:36, martin mcflysr wrote:
> Hello Subhendu,
> 
> Wednesday, April 23, 2003, 5:44:44 AM, you wrote:
> 
> SG> Actually a better posted on nagiosplug-devel - its a plugin after all.
> 
> SG> Would this feature be useful?
> Yes, of course.
> 
> Example:
> 
> 
> +--------+                         +------+
> |unix box|iface1 10.0.0.1          |ROUTER|1.1.1.1     1.1.1.2
> |        |---------------  NETWORK |      |======= ...   ISP1
> |        |                 CLOUD   |      |
> |        |iface2 10.0.0.2          |      |2.2.2.1     2.2.2.2
> |        |---------------          |      |======= ...   ISP2
> +--------+                         +------+
> 
> 
> Unix box have a two interfaces: 10.0.0.1, 10.0.0.2.
> Router  have  a  two  interfaces too: 1.1.1.1 and 2.2.2.1, connected
> to different ISP.
> 
> Router have a such route policy, that packet from 10.0.0.1 sending out
> via router interface 1.1.1.1, and packet from 10.0.0.2 sending out via
> router interface 2.2.2.1.
> 
> 
> For  exmaple,  we  need  a  check  from  unix  box  interface  of ISP2
> (2.2.2.2).  we  can take command
> 
> # ping 2.2.2.2
> 
> then packets will be route via ISP1, .... external cloud ..., and ISP2.
> 
> 
> Also, we can take command
> 
> # ping -S 10.0.0.2 2.2.2.2
> 
> In this case, packets will be routed via router interface 2.2.2.1.
> 
> 
> Now, in nagios, if we are want a check (by check_ping) interfaces some
> ISPs,  that  connected  to  our  one  router,  we  are  can check this
> interfaces only via default interface.

I can see the need.

But then we have more ugly work trying to detect this option by
autoconf.

We've talked (mostly Jeremy and I) about a check_icmp that directly
acesses the ICMP library functions. Maybe we put that kind of
functionality in a new check_icmp?

--
Karl





More information about the Devel mailing list