[mrtg] Re: MRTG on a machine with 2 ethernet cards

Garth K. Williams garth.williams at wtcs.org
Wed Mar 17 16:28:21 MET 2004


You might also consider using SNMP Informant.  The free version supports
Network Interfaces, and will not change the interface number on you!

www.snmp-informant.com

g

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of William Owen
Sent: Wednesday, March 17, 2004 7:45 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG on a machine with 2 ethernet cards


Windows has a tendency to change the interface indexes when you change the
IP configuration (Adding a second card would do this).  You might consider
monitoring by MAC address or IP address instead of interface index.
Ex:
You probably have
  Target[NetInterface]: 1:community at host (uses interface index)

Try using this
  Target[NetInterface]: !##-##-##-##-##-##:community at host (uses the MAC
address of the network card)

##-##-##-##-## is the physical address of the network card.  If you are
running winXP (any flavor) you would run 'IPConfig /all' from the command
line and look for the Physical Address entry.



-----Original Message-----
From: Chiara Sannitz [mailto:kler at bluemail.ch] 
Sent: Wednesday, March 17, 2004 2:03 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG on a machine with 2 ethernet cards

Hi, 
my problem is the following:
I was using mrtg on a windows xp machine to monitor different machine on the
network. The configuration files were all working well. 
Then I had to add to the machine a second ethernet card (that was properly
configured with ip, etc). Now one configuration files doesn't work any more
(it gives an SNMP error), the other config files still work great. I think
that the problem is that mrtg now try to access also using the second
ethernet card on the machine, while it should only access through the first
one. How can I set which ethernet card has to be used? Or should I do
something different? Any ideas?

Thanks for the help,

Chiara


----------------------------
Chiara Sannitz
via Vela 6
6850 Mendrisio

tel. 091 / 646 88 08
natel 079 / 479 39 46
e-mail kler at bluemail.ch 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

---
Incoming mail is determined to be Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.600 / Virus Database: 381 - Release Date: 2/28/2004
 

---
Outgoing mail is determined to be Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.600 / Virus Database: 381 - Release Date: 2/28/2004
 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list