[mrtg] Re: MRTG not getting bandwidth data
Britt Tabor
Britt_Tabor at Jabil.com
Fri Aug 20 15:42:46 MEST 2004
Does that server have multiple NICs? If so you may be reading the data from
an interface that is not connected. If you do a walk on ifEntry, ifTable and
check the interfaces that SNMP thinks it sees. When qurying an OID that has
multiple entries you need to specify the entry, meaning if you have multiple
entries and just query the base OID you will not get what you are expecting.
Make sure you specify the OID in the get with ending the OID with the
interface OID reference and then .0 after it.
Britt Tabor
I.T. Infrastructure Engineer
-----Original Message-----
From: James Calamore [mailto:jcalam1 at mindspring.com]
Sent: Thursday, August 19, 2004 12:13 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG not getting bandwidth data
You are right - it doesn't appear to be a problem with MRTG. I tried
snmpwalking and was able to get non-zero responses on some of the interface
MIB's (i.e. IfIndex, ifDescr, ifType, ifMtu, ifSpeed, ifPhysAddress,
ifAdminStatus, ifOperStatus, and ifLastChange) and also the system MIB's.
However, here are the zero value responses that I received (which is the
reason why MRTG isn't capturing my bandwidth data):
IF-MIB::ifInOctets.16 = Counter32: 0
IF-MIB::ifInUcastPkts.16 = Counter32: 0
IF-MIB::ifInNUcastPkts.16 = Counter32: 0
IF-MIB::ifInDiscards.16 = Counter32: 0
IF-MIB::ifInErrors.16 = Counter32: 0
IF-MIB::ifInUnknownProtos.16 = Counter32: 0
IF-MIB::ifOutOctets.16 = Counter32: 0
IF-MIB::ifOutUcastPkts.16 = Counter32: 0
IF-MIB::ifOutNUcastPkts.16 = Counter32: 0
IF-MIB::ifOutDiscards.16 = Counter32: 0
IF-MIB::ifOutErrors.16 = Counter32: 0
IF-MIB::ifOutQLen.16 = Counter32: 0
IF-MIB::ifSpecific.16 = Counter32: 0
Has anyone come across this issue before?
Thanks!
James
-----Original Message-----
From: Alex van den Bogaerdt <alex at ergens.op.het.net>
Sent: Aug 17, 2004 12:08 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG not getting bandwidth data
On Tue, Aug 17, 2004 at 11:24:34AM -0400, James Calamore wrote:
> I am running mrtg 2.10.14 on Solaris 9 and I'm having problems capturing
> (and graphing) my bandwidth data. I am able to get all the other info
> (i.e. uptime, system name, and other descriptive info).
Try accessing the snmp daemon using snmpget, snmpwalk or similar tools.
Only when this works, start thinking about debugging MRTG.
Perhaps your daemon doesn't work properly or is configured in a way you
don't expect. You'd be wasting your time if you'd look at MRTG.
HTH
Alex
--
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
--
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