Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My ISP is known for having frequent downtimes. I use a ubuntu 10.04 based server as a primary gateway for my NAT network. I am looking for a tool or script that will measure the duration of each down time.

share|improve this question
    
Hopefully you'll be giving this information to your ISP and complaining. I've had my fair share of expensive under-par ISP service. –  MaxMackie Sep 25 '11 at 19:33

1 Answer 1

up vote 2 down vote accepted

Some ideas:

  1. You could use the ping plug-in for collectd to monitor ping time from your ubuntu gateway to some selected internet hosts.
  2. If your router supports SNMP, You could use mrtg to monitor traffic on the router interfaces.
  3. You could install smtpd on your ubuntu gateway and use mrtg to monitor the gateway interfaces.
  4. Last, but not least, you could use snmp collectd plug-in to monitor directly the uptime on your router wan interface (but this requires some basic snmp knowledge).
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.