[Nagiosplug-devel] Re[2]: [Nagios-devel] question about check_ping
martin mcflysr
martin at mcflysr.kurgan.ru
Tue Apr 22 23:38:15 CEST 2003
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.
ufff.
[sorry for poor english.]
thank you.
--
Best regards
from future, HillDale
martin mailto:martin at mcflysr.kurgan.ru
More information about the Devel
mailing list