Page 1 of 1

Check Internet connectivity

Posted: Mon Oct 10, 2011 5:02 am
by stonehill
Dear All,

I need help with checking the internet connectivity with nagios. We have two connections coming to Linux based gateway. Every time there is a link down it is difficult to detect. Is there is any script for it as of now if i have to check the connection i use mtr --address IPADDRESS 4.2.2.2 . Please help if there is any way i can do it from Nagios.

Thanks in advance.

Vikram

Re: Check Internet connectivity

Posted: Mon Oct 10, 2011 10:47 am
by nscott
Vikram,

So you are one gateway. This gateway has two public facing internet connections and you would like to determine when just one of these connections is down?

If thats the case, since its a Linux based gateway, the best way would probably be to setup NRPE on the Linux gateway, and then use a custom ping script where you could specify the interface it would ping from.