[mrtg] Re: Using Enterprises MIB

David Botham dbotham at baydatacon.com
Thu Mar 30 20:13:17 MEST 2000


I agree.  The output you are getting here indicates that the OID you are
specifying is not valid (although you *know* that it is).  The Instance
number is the missing part of the IOD.  The leafs of a MIB tree have
Instances.  Adding a zero onto the end of the OID usually solves the problem
(for a system with only one of the things you are monitoroing).  The general
format is OID.Instance where Instance is a number from 0 to n.

Thanks,

Dave...

-----Original Message-----
From: Graeme Fowler [mailto:G.E.Fowler at lboro.ac.uk]
Sent: Thursday, March 30, 2000 9:44 AM
To: Paul D. Walker II
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Using Enterprises MIB



On 30-Mar-2000 Paul D. Walker II wrote:
> Does MRTG allow the use of "enterprises" MIBs?

It most certainly does. If you can get a value using SNMP, you can use
MRTG to graph it. Period :)

> I am trying to monitor CPU usage on an HP ProCurve Switch 4000 and
> the following OID is what I have drilled down to on the switch to
> successfully get the CPU percentage: 1.3.6.1.4.1.11.2.14.11.5.1.9.6
<snip>
> Target[acr03-2424a]: 
> 1.3.6.1.4.1.11.2.14.11.5.1.9.6&1.3.6.1.4.1.11.2.14.11.5.1.9.6:public at a
> cr03-2424a

Here's mine for a 3Com NetBuilderII:

Target[NB2.cpu]:
.1.3.6.1.4.1.43.2.13.8.4.0&.1.3.6.1.4.1.43.2.13.8.4.0:public at NB2

So yes, you need the preceding dot. You also need to specify an
instance - in my case, instance 0.

The OID you are going for is the branch of the MIB which *contains all
instances of that value* - if there was more than one processor you'd
have:

1.3.6.1.4.1.11.2.14.11.5.1.9.6.0
1.3.6.1.4.1.11.2.14.11.5.1.9.6.1
1.3.6.1.4.1.11.2.14.11.5.1.9.6.2

etc.

HTH

Graeme

-- 
Graeme Fowler
Network Officer, Infrastructure & Networks Group
Loughborough University Computing Services

--
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

--
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



More information about the mrtg mailing list