Re: script to monitor interface errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2009/7/23 Tom Brown <tom@xxxxxxxx>:
> Has anyone knocked up a script to monitor for interface errors before?
>
> i know i can look at the interface statistics with ethtool -S but i
> wonder if anything has something that looks at the last value for this
> statistic and then can alert if they increase?
>
> any thought how to solve this? it has to be host based and cant be on
> the switch
>

surprise, surprise

I have a similar situation. On a very slow Pentium I machine, runing
2.2.XXX kernel, sometimes I have overruns and frame errors, which
choke up the interface and I have to restart it using
The overruns are due to torrent traffic generated by one of the geeks here.

ifconfig eth1 down
ifconfig eth1 up

So I was thinking of using a cron job and a simple script that
restarts the interface, provided the errors have increased since last
check.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux