|
||||||||
|
|
#1
|
|
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 |
|
#2
|
|||
|
|||
|
"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 |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
-----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----- |
![]() |
| Tags |
| ethernet, interface, mrtg |
| Thread Tools | |
| Display Modes | |
|
|