[mrtg] Re: MRTG on a machine with 2 ethernet cards
William Owen
William.Owen at ProfilesInternational.com
Wed Mar 17 15:45:10 MET 2004
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
More information about the mrtg
mailing list