Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
mrtg step-by-step howto/configuration for a newbie?

mrtg step-by-step howto/configuration for a newbie?

2003-12-10       - By Vidol Loeung

 Back
Reply:     1     2     3     4     5     6     7  

Hi all:

I know MRTG is a very important tool for monitoring Internet/network
connection and data usage. However, I have taken it for granted so far
as my work before was not so involved with network traffic
control/measuring. But now I 'm in the middle of it and need your help.
If someone could point me to a good tutorial on mrtg that explains
step-by-step configuration for RedHat 9.0, i 'd be most grateful.

I 've tried the one that comes with RedHat 9.0 CD, but I could not manage
to make it work. I know, it does not work out of the box; maybe someone
of you can explain some steps to get the RPM that comes with Shrike CD
working.

I saw its default configuration like this in /etc/mrtg/mrtg.cfg:

-- ---- ---- ---
WorkDir: /var/www/html/mrtg
Target[r1]: 2:public@(protected)
MaxBytes[r1]: 1250000
Title[r1]: Traffic Analysis
PageTop[r1]: <H1 >Stats for our Ethernet </H1 >
-- ---- ---- ---

and in the /etc/crontab:

-- ---- ---- ---
...
0-59/5 * * * * mrtg /etc/mrtg/mrtg.cfg
-- ---- ---- ---

This configuration seems to produce no outputs. What should I do more
with it?

And when I tried running it manually:

$ mrtg /etc/mrtg/mrtg.cfg

There were these errors:

-- ---- ---- ---
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 2 (OID: 1.3.6.1.2.1.2.2.1.16.2)
SNMPv1_Session (remote host: "203.146.184.138 " [203.146.184.138].161)
community: "public "
request ID: 1813387757
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on
public@(protected)
at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ' '
WARNING: Expected a number but got ' '
libpng warning: Application was compiled with png.h from libpng-1.2.2
libpng warning: Application is running with png.c from libpng-1.0.13
gd-png: fatal libpng error: Incompatible libpng version in application
and library
WARNING: rateup died from Signal 11
with Exit Value 0 when doing router 'r1 '
Signal was 11, Returncode was 0
-- ---- ---- ---

Thanks in advance for all help and regards,
Vidol :)