True.  I actually made my own script which sits atop /proc/net/dev and
monitors the changes in the values for Bytes-In Bytes-Out.

IMHO SNMP for this simple requirement opens up yet another port in your
machine, and given the past security issues of UCSD-SNMP, it's not a good
idea.  If you have to use SNMP, i suggest firewalling it out to known
clients via iptables.



On Wed, 11 Jun 2003, Federico Sevilla III wrote:

> On Tue, Jun 10, 2003 at 06:06:50PM -0700, Jet Bagadion wrote:
> > the computer where the NIC is installed should be running SNMP.  you
> > also need to learn the NMP OIDs for the NIC. let us know your setup.
>
> Not necessarily. I use a perl script called mrtg-eth.pl[1] by Mario
> Witte and it works fine. It's uber-simple to use:
>
>     Target[dsl]: `/usr/local/sbin/mrtg-eth.pl -d eth1`
>
> for example. :)
>
>  --> Jijo
>
> [1] http://mrtg-eth.sourceforge.net/
>
>

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to