ADSL modem checking

Paul Weaver paul.weaver at bbc.co.uk
Wed Aug 27 14:11:01 CEST 2008


I don't have any pcs with default routes out of two network cards to
test, but perhaps using "ping -I eth0 www.yahoo.co.uk" and "ping -I eth1
www.yahoo.co.uk" would work?

--
Paul Weaver	
Systems Development Engineer
News Production Facilities, BBC News
Work:	020 822 58109
Room 1244  Television Centre,
Wood Lane, London, W12 7RJ



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of J. Bakshi
> Sent: 27 August 2008 12:13
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] ADSL modem checking
> 
> 
> Hi all,
> 
> nagios is running here at my local server with 
> ssh,mysql,smtp,http monitoring.
> 
> And now I like to use *nagios* to monitor my 2 ADSL modems.
> 
> The environment is as below
> 
>     1> my linux server has 3 lan crads eth0 ( connected with 
> hub ) , eth1, eth2
> 
>     2>  There is an ADSL modem 220BX connected with eth1. ( 
> 8MB connection used as primary )
>         This modem is providing Internet connection from 
> provider1 (say)
> 
>          Another modem ADSL modem TAD100 connected with eth2. 
> ( 512 KB connection used as backup )
>         This modem is providing Internet connection from 
> provider2 (say)
> 
> 3> simple check_ping to modem IP  can monitor the 
> accessibility to both
> the  modem. BUT how can I check that the internet connection 
> is really 
> provided by the modems. simple ping to yahoo.com can't solve 
> the problem as any one modem is used as default route at a 
> particular time. How can I check the internet is really 
> present on the other modem not used as default route ? In 
> other words say eth1 is used as default route and the traffic 
> is going through ADSL modem 220BX. Then How can I check that 
> the internet connection is alive at eth2 ?
> 
> Many thanks in advanced.
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Joydeep Bakshi, Linux System Admin
> Kolkatainfoservices Pvt Ltd,
> 23A Royd Street, Kolkata 700016, India
> Work Phone 91 033 40014784
> http://infoservices.in/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.Net email is sponsored by the Moblin Your Move 
> Developer's challenge Build the coolest Linux based 
> applications with Moblin SDK & win great prizes Grand prize 
> is a trip for two to an Open Source event anywhere in the 
> world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list