use another identifier.  here's whats running on mine.
localhost_2 is my eth0, which connects me to WAN.
localhost_3 is my eth1, which connects me to LAN.

Target[localhost_2]: 2:public@localhost:
SetEnv[localhost_2]: MRTG_INT_IP="203.167.10.120" MRTG_INT_DESCR="eth0"
MaxBytes[localhost_2]: 64000
AbsMax[localhost_2]: 64000
Unscaled[localhost_2]: dwmy
Title[localhost_2]: Traffic Analysis for WAN

Target[localhost_3]: 3:public@localhost:
SetEnv[localhost_3]: MRTG_INT_IP="192.168.0.16" MRTG_INT_DESCR="eth1"
MaxBytes[localhost_3]: 1250000
Title[localhost_3]: Traffic Analysis for LAN

hope this helps. :)

-----Original Message-----
From: Reynald I. Ngo
Sent: Wednesday, August 08, 2001 12:22 PM
Subject: [plug] net-snmp / mrtg question

Guys,

        I have a linux server with 2 ethernet on it. I want to monitor the 2 
interface with mrtg. Normally, if you have 1 ethernet... you have this on 
your cfg file...

Target[server-eth0]: 2:[EMAIL PROTECTED]

        What if i have eth0 and eth1? Which identifier do i plot for eth0 and 
eth1? TYI.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to