You are looking for an OID. A MIB is used to determine the
type and description information of the OID. A common one would
be:
system.sysUpTime.0 = Timeticks: (103476680) 11 days, 23:26:06
Now, if you look at a typical SNMP definition, you'll see:
internet OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 }
directory OBJECT IDENTIFIER ::= { internet 1 }
mgmt OBJECT IDENTIFIER ::= { internet 2 }
mib-2 OBJECT IDENTIFIER ::= { mgmt 1 }
system OBJECT IDENTIFIER ::= { mib-2 1 }
sysUpTime OBJECT-TYPE
SYNTAX TimeTicks
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The time (in hundredths of a second) since the
network management portion of the system was last
re-initialized."
::= { system 3 }
So if you follow the numbers, you get:
sysUpTime = .1.3.6.1.2.1.1.3.0
or
sysUpTime = iso.org.dod.internet.mgmt.mib-2.system.sysUpTime
-- Dale E. Reed Jr. (daler@iea-software.com)_________________________________________________________________ IEA Software, Inc. | RadiusNT, Emerald, and NT FAQs Internet Solutions for Today | http://www.iea-software.com