Capability records (for AGENT-CAPABILITIES statements) are another type of container record in MIB Smithy SDK, most similar to MODULE-COMPLIANCE statements. Where MODULE-COMPLIANCE statements define minimum implementation requirements, AGENT-CAPABILITIES statements document actual implementations. Like files and modules, they provide a number of properties to list information about contained records in a heirarchical fashion, in addition to properties of the AGENT-CAPABILITIES statement its self, such as the product version to which it applies.
% dbcmd get property ?property ...? capability
-cmodules
Returns a list of conformance module records corresponding to each SUPPORTS section within the AGENT-CAPABILITIES record.
MODULE1 MODULE2 MODULE3 ...
-comments
-container
-fullname
for the container record, or for the queried record with the last envelope stripped off.-description
-fullname
!
(exclamation point), as in @File2!WIDGET-MIB!widgetCapabilities
.-fulloid
1.3.6....
). If the OID is not able to be resolved all the way to one of the root nodes (ccitt, iso, joint-iso-ccitt), due to one or more dependent modules not being present in the database, then the first component will be that of the descriptor that could not be resolved.-includes
Like -cmodules
, but each conformance module is coupled with a list of identifiers or OID values corresponding the list of groups referenced by the INCLUDES field for the module.
MODULE1 { group1 group2 ... } MODULE2 {} ...
-name
-oid
a.1.2.3
will be returned even if the OID value is declared in the ASN.1 as { EX-MIB.a b(1) c(2) 3 }
.-oidsuffix
-oidsuffix
property for sysDescr.0
is 0
.-reference
-release
-status
-subids
x.1
and x.2
, then the -subids
property for x
is the list { 1 2 }
.-subnodes
x.1.1
and x.1.2
, but none are defined for x.1
, then the result will include the value x.1
).-value
-oid
for get
operations.-valuedecl
module.descriptor
form it is returned as module:descriptor
. That is, SNMPv2-MIB:system.1
will be returned if the OID value is declared in the ASN.1 it as { SNMPv2-MIB.system 1 }
.-variations
Like -cmodules
, but each conformance module is coupled with a list of records corresponding to OBJECT references within the SUPPORTS section.
MODULE1 { var1 var2 ... } MODULE2 {} ...