<br><br><div class="gmail_quote">On Sat, Nov 7, 2009 at 9:40 PM, Bob Puff@NLE <span dir="ltr"><<a href="mailto:bob@nleaudio.com">bob@nleaudio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Centos People,<br>
<br>
I have a CentOS 5.3 box that had a total of 5 ethernet cards in it. It<br>
functions to share an internet connection with 4 different subnets. All<br>
works fine, except I'm noticing that my MRTG traffic graphs are wrong.<br>
Further digging with snmpwalk reveal that the order of the ethernet<br>
interfaces changes every time the machine is rebooted to a different order.<br>
<br>
For example, I currently see:<br>
<br>
IF-MIB::ifDescr.1 = STRING: lo<br>
IF-MIB::ifDescr.2 = STRING: eth3<br>
IF-MIB::ifDescr.3 = STRING: eth4<br>
IF-MIB::ifDescr.4 = STRING: eth0<br>
IF-MIB::ifDescr.5 = STRING: eth1<br>
IF-MIB::ifDescr.6 = STRING: eth2<br>
IF-MIB::ifDescr.7 = STRING: sit0<br>
<br>
Why is this not in proper order? Other servers seem to be ok. my<br>
snmpd.conf file has little, if anything as far as config. Is there<br>
something I need to put in there for persistence?<br>
<br></blockquote><div><br>I have found that relying on snmp numbers for interfaces is always tricky. You may be better off addressing them by 'description' as in<br><br>Target[mytarget]: \ppp0:public@localhost<br>
<br>in your mrtg.cfg. Check <a href="http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html">http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html</a> for the whole story.<br>HTH<br><br></div></div>-- <br>Eduardo Grosclaude<br>
Universidad Nacional del Comahue<br>Neuquen, Argentina<br>