Hi Martin,
May I kindly ask you to read the RFC1155 and 1156... you will find a lot of
information and most of the answers to your questions...
Readings about ASN.1
A good starting point for you - as far as I can estimate your know-how about
SNMP - concurrently to reading at least these RFCs, will be to implement Getif,
a free MIB browser on your PC and play a bit with it.
.iso.org.dod (.1.3.6) is a path, not MIBS. Please do not confuse OIDs and MIBs
: RFC 1155 says that
"... An OBJECT IDENTIFIER is a sequence of integers which traverse a
global tree. The tree consists of a root connected to a number of
labeled nodes via edges. Each node may, in turn, have children of
its own which are labeled. In this case, we may term the node a
subtree. This process may continue to an arbitrary level of depth.
Central to the notion of the OBJECT IDENTIFIER is the understanding
that administrative control of the meanings assigned to the nodes may
be delegated as one traverses the tree. A label is a pairing of a
brief textual description and an integer.
The root node itself is unlabeled, but has at least three children
directly under it: one node is administered by the International
Organization for Standardization, with label iso(1); another is
administrated by the International Telegraph and Telephone
Consultative Committee, with label ccitt(0); and the third is jointly
administered by the ISO and the CCITT, joint-iso-ccitt(2).
Under the iso(1) node, the ISO has designated one subtree for use by
other (inter)national organizations, org(3). Of the children nodes
present, two have been assigned to the U.S. National Institutes of
Standards and Technology. One of these subtrees has been transferred
by the NIST to the U.S. Department of Defense, dod(6).
As of this writing, the DoD has not indicated how it will manage its
subtree of OBJECT IDENTIFIERs. This memo assumes that DoD will
allocate a node to the Internet community, to be administered by the
Internet Activities Board (IAB) as follows:
internet OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 }
That is, the Internet subtree of OBJECT IDENTIFIERs starts with the
prefix:
1.3.6.1
"
Best regards
JMJ
-----Message d'origine-----
De : Martin T [mailto:[email protected]]
Envoyé : jeudi, 9. juillet 2015 15:51
À : [email protected]
Objet : Where to find SNMP MIB files close to root?
Hi,
I installed "snmp" package under Debian which contains all the familiar
utilities like snmpwalk, snmpget, snmpset, snmptranslate, etc. This "snmp"
package depends on "libsnmp15" package which depends on "libsnmp-base" package
which installs bunch of MIB files:
$ dpkg -L libsnmp-base | grep '/usr/share/mibs/netsnmp/'
/usr/share/mibs/netsnmp/NET-SNMP-EXAMPLES-MIB
/usr/share/mibs/netsnmp/NET-SNMP-AGENT-MIB
/usr/share/mibs/netsnmp/UCD-IPFWACC-MIB
/usr/share/mibs/netsnmp/UCD-DISKIO-MIB
/usr/share/mibs/netsnmp/NET-SNMP-VACM-MIB
/usr/share/mibs/netsnmp/UCD-DLMOD-MIB
/usr/share/mibs/netsnmp/NET-SNMP-SYSTEM-MIB
/usr/share/mibs/netsnmp/UCD-SNMP-MIB
/usr/share/mibs/netsnmp/LM-SENSORS-MIB
/usr/share/mibs/netsnmp/NET-SNMP-PASS-MIB
/usr/share/mibs/netsnmp/NET-SNMP-MIB
/usr/share/mibs/netsnmp/NET-SNMP-TC
/usr/share/mibs/netsnmp/NET-SNMP-MONITOR-MIB
/usr/share/mibs/netsnmp/NET-SNMP-EXTEND-MIB
/usr/share/mibs/netsnmp/GNOME-SMI
/usr/share/mibs/netsnmp/UCD-DEMO-MIB
$
However, looks like standard bodies(iso, ccitt) MIB files were not installed:
$ grep -i iso $(dpkg -L libsnmp-base | grep '/usr/share/mibs/netsnmp/')
/usr/share/mibs/netsnmp/UCD-SNMP-MIB:-- returned to:
.iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0
/usr/share/mibs/netsnmp/NET-SNMP-TC:--
.iso.org.dod.internet.experimental.nmrg.nmrgSnmpDomains.snmpTCPDomain
$ snmptranslate -IR -On -Td internet 2>/dev/null $
Where should one generally find those MIB files? Or do distributions usually
provide a package which contains all the popular MIB files and also those MIB
files which are close to root(for example SNMPv2-SMI.txt)?
thanks,
Martin
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need
to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
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
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
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