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:[EMAIL PROTECTED] (uses interface index)

Try using this
  Target[NetInterface]: !##-##-##-##-##-##:[EMAIL PROTECTED] (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:[EMAIL PROTECTED] 
Sent: Wednesday, March 17, 2004 2:03 AM
To: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 

--
Unsubscribe mailto:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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

Reply via email to