[mrtg] Re: MRTG and IBM2210

Stieers, Ken KStieers at DainRauscher.com
Tue Aug 10 14:15:49 MEST 1999


No you don't have to add them to SNMPUtil.  In fact, you don't want to, as
that can change as MRTG evolves.  Just specify the OIDS on the Target line
like this:

Target[router]: 1.3.6.1.2.1.9.9.9&1.3.6.1.2.1.9.9.10:public at routerip

Note: these OIDS don't point to anything!


Ken 

> -----Original Message-----
> From: Javier Tan [mailto:javier_tan at hotmail.com]
> Sent: Monday, August 09, 1999 10:30 PM
> To: alex at slot.hollandcasino.nl; bra at insomnia.rulez.org
> Cc: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: MRTG and IBM2210
> 
> 
> Hi all,
> 
> 
> I actually have the same problem getting specific object 
> (OID) results from 
> MRTG. I'm actually "polling" to a IBM 8265 switch.
> 
> I understand from Alex that we can get "response" from 
> certain OIDs as 
> Specified in the "SNMP_Util.pm",which MRTG refers to.
> 
> I have the following questions:
> 
> 1. If we need to get results on other objects (OID), do we 
> add them into the 
> "SNMP_util.pm" file ??
> 
> 
> Hope you guys can help.
> 
> 
> Thanks in Advance !!
> 
> Regards,
> Javier tan
> Network Support Team
> 
> 
> 
> 
> >From: Alex van den Bogaerdt <alex at slot.hollandcasino.nl>
> >To: bra at insomnia.rulez.org (Nagy Attila)
> >CC: mrtg at list.ee.ethz.ch (MRTG mailing list)
> >Subject: [mrtg] Re: MRTG and IBM2210
> >Date: Sun, 8 Aug 1999 23:43:10 +0200 (MET DST)
> >
> > > >From this MIB i want to monitor the proCurrentTemp 
> variable, but what
> > > should i give to MRTG?
> > > I'm using a 2.8.x version and the above MIB could 
> successfully loaded 
> >into
> > > MRTG but i cannot access the wanted info.
> > >
> >
> >There are programs that can read in these files and allow you to
> >view them conveniently. If you cannot find one of those, you could
> >do it manually.
> >
> >The MIB is just a tree-like structure. There are nodes and branches.
> >What you want to know is how to monitor a variable. This is just an
> >endpoint of the tree. Follow the branches up until you reach the top
> >and write the branches down from right to left.
> >
> >Example from a MIB-file (which is NOT a mib but rather a sub-tree):
> >
> >Inside the RFC1213 mib-file you find "ifInOctets".
> >
> >           ifInOctets OBJECT-TYPE
> >               SYNTAX  Counter
> >               ACCESS  read-only
> >               STATUS  mandatory
> >               DESCRIPTION
> >                       "The total number of octets received on the
> >                       interface, including framing characters."
> >               ::= { ifEntry 10 }
> >
> >You would like to monitor this variable (ifInOctets). You see that it
> >ends in  "ifEntry.10". Look up "ifEntry" and find out that:
> >
> >           ifEntry OBJECT-TYPE
> >               SYNTAX  IfEntry
> >               ACCESS  not-accessible
> >               STATUS  mandatory
> >               DESCRIPTION
> >                       "An interface entry containing objects at the
> >                       subnetwork layer and below for a particular
> >                       interface."
> >               INDEX   { ifIndex }
> >               ::= { ifTable 1 }
> >
> >it is "ifTable.1" so you know "ifTable.1.10". Look up ifTable:
> >
> >           ifTable OBJECT-TYPE
> >               SYNTAX  SEQUENCE OF IfEntry
> >               ACCESS  not-accessible
> >               STATUS  mandatory
> >               DESCRIPTION
> >                       "A list of interface entries.  The number of
> >                       entries is given by the value of ifNumber."
> >               ::= { interfaces 2 }
> >
> >to know "interfaces.2.1.10". Browse up in the file to find
> >
> >           interfaces   OBJECT IDENTIFIER ::= { mib-2 2 }
> >
> >so you know "mib-2.2.2.1.10".
> >
> >The node "mib-2" is (after a while perhaps) known from memory to be
> >
> >iso.org.dod.internet.mgmt.mib-2 or 1.3.6.1.2.1 so the complete OID
> >is 1.3.6.1.2.1.2.2.1.10 and you only have to append an instance.
> >You can use the numbers inside MRTG by doing something like:
> >
> >Target[x]: 
> 1.3.6.1.2.1.2.2.1.10.1&1.3.6.1.2.1.2.2.1.16.1:public at router
> >
> >
> >It is not a nice job to do and if possible you should use a computer
> >to do the job, but it can be done. It won't be easy the 
> first few times
> >so try to find some known values from SNMP_Util.pm to start with.
> >
> >Regards,
> >Alex
> >
> >--
> >* To unsubscribe from the mrtg mailing list, send a message with the
> >   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> >* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> >
> 
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> 

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list