Networking Forums

Networking Forums > Computer Networking > Linux Networking > MRTG & Ethernet Interface

Reply
Thread Tools Display Modes

MRTG & Ethernet Interface

 
 
Matt
Guest
Posts: n/a

 
      08-20-2004, 04:44 AM
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


 
Reply With Quote
 
 
 
 
ynotssor
Guest
Posts: n/a

 
      08-20-2004, 04:53 AM
"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
 
vhu
Guest
Posts: n/a

 
      08-20-2004, 05:28 AM
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
 
Michael Heiming
Guest
Posts: n/a

 
      08-20-2004, 06:39 AM
-----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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to refresh Ethernet interface? Charles Packer Linux Networking 2 03-19-2011 01:14 AM
Interface "descriptions" and MRTG Andrew Gideon Linux Networking 0 07-28-2008 11:55 PM
Ethernet interface status detection David Linux Networking 1 08-16-2007 02:31 AM
Virtual ethernet interface ? ArameFarpado Linux Networking 5 11-17-2006 11:30 PM
serial interface to ethernet interface Kenneth Sparre Linux Networking 9 11-01-2005 12:27 PM



1 2 3 4 5 6 7 8 9 10 11