Have you tried variations on the command line snmpwalk using -On and
-Of. (that's the letter O, not a zero). These can help you figure out
exactly what object you're seeing responses to.   You should also read
the snmpcmd man page.  I haven't seen a net-snmp FAQ yet, but someone
has probably created one.

The following is from the RFC1213 MIB (another good starting point, read
the MIB files.. Some can be dry as dust and more than a little arcane
but the MIBs define what you can measure).  

atTable OBJECT-TYPE
    SYNTAX  SEQUENCE OF AtEntry
    ACCESS  not-accessible
    STATUS  deprecated
    DESCRIPTION
            "The Address Translation tables contain the
            NetworkAddress to `physical' address equivalences.
            Some interfaces do not use translation tables for
            determining address equivalences (e.g., DDN-X.25
            has an algorithmic method); if all interfaces are
            of this type, then the Address Translation table
            is empty, i.e., has zero entries."
    ::= { at 1 }


$ snmpwalk -On -v 2c -c readcommunity FQDN sysContact.0
.1.3.6.1.2.1.1.4.0 = STRING:

$ snmpwalk -Of -v 2c -c readcommunity FQDN sysContact.0
.iso.org.dod.internet.mgmt.mib-2.system.sysContact.0 = STRING:

Capture the walk from .iso to a file to make your investigation easier. 
$ snmpwalk -Of -v 2c -c readcommunity FQDN iso > filename

Good Luck,

John


> Message: 2
> Subject: OIDs and Instances returned by SNMPWALK
> Date: Mon, 21 Mar 2005 15:03:41 -0500
> From: [EMAIL PROTECTED]
> To: [email protected]
> 
> This is a multi-part message in MIME format.
> 
> ------_=_NextPart_001_01C52E51.147D0108
> Content-Type: text/plain;
>  charset=us-ascii
> Content-Transfer-Encoding: quoted-printable
> 
> Hi everyone,
> 
> =20
> 
> When snmpwalk is returned, 2 such lines that is returned is the
> following:
> 
> =20
> 
>        SNMPv2-MIB::sysContact.0 =3D STRING: [EMAIL PROTECTED]
> 
>        RFC1213-MIB::atPhysAddress.2.1.198.235.66.193 =3D Hex-STRING:
> (blahblahblah)
> 
> =20
> 
> Now, I've been told that sysContact is a MIB variable, and the "0" is
> the instance.  If that is true, then "2.1.198.235.66.193" is the
> instance.  Now, I know that 198.235.66.193 is probably an IP of some
> kind (my server IP is 193.235.66.203.  So what is the "2.1" in front?
> Is there any way to determine in the string from the :: to =3D whether =
> it
> contains 1 IP, multiple IPs, ports, instance numbers etc?
> 
> =20
> 
> Is there any documentation that discusses the format of the data that
> SNMPWALK returns?
> 
> I've gone through a lot of SNMP faqs, but I'm just not finding the
> answer (or missed it).
> 
> =20
> 
> Can anyone provide an answer or point me in the right direction?
> Getting panicky about this because this needs to be complete by tomorrow
> and I'm still clueless...
> 
> =20
> 
> Thanks so much.
> 
> Nelson
> 
> =20
> 
> Nelson Yik
> 
> Business Systems Analyst
> 
> University of Waterloo Co-op
> 
> New Technology Integration
> 
> Bell Canada
> 
> 76 Adelaide St. W., Floor 15
> 
> * [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>=20
> 
> * (416) 353-9159
> 
> =20
> 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to