Hi Todd,
If you mean the dsl goes out for a while, what I've done is pretty low
tech but works for reporting downtime.
A cron job from inside that pings a couple of servers on the outside and
one on the outside that pings the server in question. I usually grep
for the summary line and redirect it out to a log file.
Soemthing like:
#!/bin/bash
ips="example.com another.example.com "
for ip in $ips; do
dat=`date +"%Y%m%d %H%M"`
res=`ping -c 3 $ip | grep loss| awk '{print $6, ",", $10 }'`
echo $dat "," $ip "," $res >>/home/joe/ping.stats
done
Joe
On 3/27/13 12:36 PM, Todd And Margo Chester wrote:
Hi All,
I have a Cent OS 5.x server sitting on a DSL line
acting as a firewall. I have noticed that there are
dead spots, up to a minute, every so often in their
Internet service.
It could be a storm on someone's part, but the worst
they run is IMAP. No music; no video.
Is there a utility I can run to map this?
Many thanks,
-T
xxx