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

Re: [Bigsister-general] network alarm


On Tue, 2005-09-20 at 14:25 +0800, Linda wrote:
> How to setup network alarm for specified interface and specified
> bandwidth? ex: raise alarm when the bandwidth is over 20 k/B on eth0.

Try something like

    localhost	warnload=20kB maxload=40kB interface=eth0 network

(yellow at >=20kB/s, red at >=40kB/s), or

    localhost	warnload=10% maxload=80% interface=eth0 network

(requires the interface speed being correctly discovered or manually
being set via the "speed" argument)

Of course, this requires the network test being available for the system
in question at all (currently only on Linux, Windows and via SNMP)

Best regards,
Tom
-- 
----------------------------------------------------------------------------
Thomas Aeby, Kirchweg 52, 1735 Giffers, Switzerland, Tel: (+41)264180040
Internet: suppressed                       PGP public key available
----------------------------------------------------------------------------




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.