The SNMP MIB (Management Information Base) file defines the properties for the managed objects in KeyControl. The MIB file is written in an independent format and the object information it contains is organized hierarchically. OIDs (Object Identifiers) in the MIB file uniquely identify each managed object. Each OID has an address that follows the levels of the OID hierarchy.
The Enterprise OID for HyTrust is 1.3.6.1.4.1.33095. KeyControl's relative OID is 4 .
The model for a KeyControl MIB trap object is:
-- 1.3.6.1.4.1.33095.4.1.0.1 htkcKeyServerAlert NOTIFICATION-TYPE OBJECTS { htkcKeyServerAlertID, htkcKeyServerAlertSeverity, htkcKeyServerAlertText } STATUS current DESCRIPTION "An HTKC alert" ::= { htkcKeyServerAlerts 1 }
The objects included in the trap are:
htkcKeyServerAlertID
— The Alert ID number.htkcKeyServerAlertSeverity
— The alert severity. This can be 0 (high), 5 (medium), or 10 (low).htkcKeyServerAlertText
— The alert text.For example, here is a sample trap for the alert stating that a new Cloud VM Set called "SF Data Center" has been created. The alert ID is 12, the priority is 10 (low), and the text is "Created Cloud VM Set SF Data Center":
2018-03-13 23:17:44 dkkc1 [UDP: [172.16.14.11]:50993->[0.0.0.0]:0]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.33095.4.1.0.1 SNMPv2-SMI::enterprises.33095.4.1.0.2.1 = Gauge32: 12 SNMPv2-SMI::enterprises.33095.4.1.0.2.2 = INTEGER: 10 SNMPv2-SMI::enterprises.33095.4.1.0.2.3 = STRING: "Created Cloud VM Set SF Data Center"