Re: [Hampshire] Simple way to monitor network uptime?

Top Page

Reply to this message
Author: Andy Random
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Simple way to monitor network uptime?

Thanks for the suggestions guys.

Unfortunately I don't think either Tony or Jamie's solution is ideal for
my problem.

I'm getting multiple short disconnects, outages might only last 30 seconds
(during which time the cable modem loses all net connectivity and any
active session like ssh or IM connections die) and rarely go above three
minutes so scheduling something to run periodically via cron isn't ideal
as even if I run the script every minute it will still likely miss some
outages.

What I'm doing at the moment is logging the output of a command like

    ping -i 10  google.co.uk


and looking for gaps in the icmp_seq numbers, however I haven't had time
to write a script to process the logs so collating data is rather
laborious and using this method doesn't give me a time the outage
occurred, just a number of outages and an approximate duration.

So I was wondering if there was a package somewhere which would closely
monitor my connectivity and easily generate nicer reports?

If not I guess I'll be spending my weekend writing a script :)


    Andy