[rrd-users] Re: Graphing local network traffic.

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Mar 19 09:38:26 MET 2001


Nemo wrote:

> This might be a little off-topic.  I want to graph my network traffic

Nope, not off topic at all.  This is about RRDtool, not about SNMP.
SNMP is a bit off topic here (but not much!)

> usage on my own host, i.e.  on local NIC.  Is there a way to get numbers
> from the NIC on the local host.  Say I have a Sun Ultra 5 at a datacenter
> and they do not provide network graphs and I want to see how much traffic
> goes to and from this box, do I need to run snmpd as a daemon and then run
> snmpget to the localhost?

You can use the output of 'ifconfig' inside a script.  Follow the
examples in the tutorial to get enough knowledge of RRDtool, use
your favorite scripting language such as bash, ksh or perl.  Nothing
more is needed to feed numbers into "rrdtool update" (which is what
you need to do).

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list