Le 18/04/2012 09:18, Michael Friedrich a écrit :
lara sanz sanchis wrote:
Hello.
I need send ping monitoring for two diferent paths.
I have two diferent paths for output to internet. I can do? Thank you
very much!

that's a routing thing, the core/plugin will take the one the operating
system prefers.

For example, you can create static routes to specific hosts on your firewall/router (the one which manages the two ISP connections). Assume you have two ISPs (ISP1 and ISP2) and each ISP has its own DNS servers (DNS1 and DNS2). Create two static routes :
- route to DNS1 through ISP1
- route to DNS2 through ISP2
Ensure there are no overlapping / default routes (ie, DNS1 can not be reached through ISP2 and vice-versa). And ensure these DNS servers respond to PING requests (usually, they do).

Then, in Icinga, create two icmp checks, one for DNS1 and one for DNS2. If one of these checks fail, this may indicate the corresponding ISP link is down.

Nota: it would be a better idea to use "gateway" addresses instead of DNS addresses for each ISP. But ISP's gateway addresses are not always known, and are often not pingable. Using DNS servers is a workaround, because those usually respond to PING. If they don't respond to PING, then use dns check instead of icmp check in Icinga.


*Toussaint OTTAVI*

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to