ADSL modem checking

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


> Paul Weaver wrote:
> > 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?
> >   
> 
> Hi Paul,
> 
> Thanks for your response. I have a script which actually 
> change the default route to other lan card when the present 
> lan card i.e. the modem connected with it not providing the 
> internet.  The  command you have mentioned is also check the 
> internet forcefully from the lan card.
> 
> but it would be nice if check_ping could do the same.
> thanks

Ahh well, you're asking the wrong person. At the first sign of trouble
with standard plugins, I wrap a perl script arround whatever commands I
do the check with -- I did a similar thing when I wasnted to force
checks of 8000 byte non-fragmented pings. 

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