Have you tried MRTG (Multiple Router Traffic Graph)?  Would give you good 
statistics too.
RKA
>===== Original Message From [EMAIL PROTECTED] =====
>Hi,
>
>        I'm having a router co-located in a different location. I'm
>supposed to check whether the WAN port of that router is up or not. For
>doing that right now I'm pinging (ping -c 3 myrouter) to that machine
>and verifying (I've written one perl script which pings the link and
>according to the exit status it drops a mail to my account). Some times
>what happens is , ping won't be able to reach the router , even though
>the router is up and returns a fail exit status. B'coz of that I'm
>getting mails which doesn't make any sense as the router is really UP.
>Is there any other method other than ping to check whether the router is
>up or not so that I can use it in my script ? Please help !!!!
>
>regards
>
>arti
>
>
>
>
>----------------------------------------------
>LIH is all for free speech.  But it was created
>for a purpose.  Violations of the rules of
>this list will result in stern action.

Visit me at http://princeandy.webjump.com


----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to