Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

MRTG & Ethernet Interface

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2004, 05:44 AM
Default MRTG & Ethernet Interface



I would like to monitor the ethernet interface on my Fedora Linux box using
MRTG. I would like to do this without using SNMP. I have MRTG installed
and have worked with it before monitoring things using SNMP. I just do not
know how to do this without MRTG. Anyone have any pointers or examples?

Another thing I would like to monitor with it is CPU load.

Matt




Matt
Reply With Quote
  #2  
Old 08-20-2004, 05:53 AM
ynotssor
Guest
 
Posts: n/a
Default Re: MRTG & Ethernet Interface

"Matt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)

> I would like to monitor the ethernet interface on my Fedora Linux box
> using MRTG. I would like to do this without using SNMP.


MRTG uses a Perl-based SNMP implementation. I don't believe that one can
gather the network statistics any other way.


tony

--
use hotmail for email replies

Reply With Quote
  #3  
Old 08-20-2004, 06:28 AM
vhu
Guest
 
Posts: n/a
Default Re: MRTG & Ethernet Interface

Matt wrote:

> I would like to monitor the ethernet interface on my Fedora Linux box using
> MRTG. I would like to do this without using SNMP. I have MRTG installed
> and have worked with it before monitoring things using SNMP. I just do not
> know how to do this without MRTG. Anyone have any pointers or examples?


Take a look at MRTG reference documentation:

http://people.ee.ethz.ch/~oetiker/we...reference.html

Look for "External Monitoring Scripts". You could write a script for the
MRTG that parses output of the ifconfig.
Reply With Quote
  #4  
Old 08-20-2004, 07:39 AM
Michael Heiming
Guest
 
Posts: n/a
Default Re: MRTG & Ethernet Interface

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking ynotssor <(E-Mail Removed)> suggested:
> "Matt" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)


>> I would like to monitor the ethernet interface on my Fedora Linux box
>> using MRTG. I would like to do this without using SNMP.


> MRTG uses a Perl-based SNMP implementation. I don't believe that one can
> gather the network statistics any other way.


Not quite, you can gather data in any form you like and feed it
to mrtg/rrdtool. You could even use the stats of 'ifconfig
<device>', there are some examples for using scripts in the mrtg
documentation as someone else already pointed out. Using SNMP is
just convenient if you have a large number of systems/targets.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBJZyyAkPEju3Se5QRApyXAKCpl6w+471bKbUQ9bt3sI Fu3O3dBQCfe1Zy
5VrusMRBsaff5Huh7CXgl0E=
=QRyG
-----END PGP SIGNATURE-----
Reply With Quote
Reply

Tags
ethernet, interface, mrtg

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.