All MIBs › DMTF-DMI-MIB › dmiClassKeyCount
dmiClassKeyCount
Module: DMTF-DMI-MIB
OID (symbolic): DMTF-DMI-MIB::dmiClassKeyCount
OID (numeric): 1.3.6.1.4.1.412.1.1.1.1.1.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description:
The number attributes that comprise a key for this group; zero if no 'key' statement appeared in the group definition.
The ordered list of attribute Id's that comprise the key can be obtained from the dmiKeyTable
What is dmiClassKeyCount?
This OID holds a count of how many attributes uniquely identify a row in a hardware/system management group (0 if no key is defined). Reading it tells you the schema structure and how to uniquely reference rows in that management table. A network operator would use this when writing automated device inventory scripts to understand how to construct proper lookup queries.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.412.1.1.1.1.1.6 snmpwalk -v2c -c public <target> DMTF-DMI-MIB::dmiClassKeyCount
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.412.1.1.1.1.1.6.1 snmpget -v2c -c public <target> DMTF-DMI-MIB::dmiClassKeyCount.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.412 | dmtf | DMTF-DMI-MIB |
| 1.3.6.1.4.1.412.1 | dmiMIB | DMTF-DMI-MIB |
| 1.3.6.1.4.1.412.1.1 | dmiMIBObjects | DMTF-DMI-MIB |
| 1.3.6.1.4.1.412.1.1.1 | dmiClasses | DMTF-DMI-MIB |
| 1.3.6.1.4.1.412.1.1.1.1 | dmiClassTable | DMTF-DMI-MIB |
| 1.3.6.1.4.1.412.1.1.1.1.1 | dmiClassEntry | DMTF-DMI-MIB |
| 1.3.6.1.4.1.412.1.1.1.1.1.6 | dmiClassKeyCount | DMTF-DMI-MIB |