API Guide
Privilege
VIEW
HTTP Response Codes
200
Sample Json Output
{
"@odata.context": "/api/$metadata#Collection(MIBImportService.GetTrapsPayload)",
"@odata.count": 1894,
"value": [{
"EnterpriseOid": ".1.3.6.1.4.1.674.10892.1",
"EventDefinition": {
"Name": "alertBatteryNormal",
"EventCategory": {
"Id": 1000,
"EventCategoryName": "System Health"
},
"EventCatalog": {
"EventCatalogId": 1000,
"Name": "OMSA",
"ReleaseVersion": "7.4.0"
},
"EventSubCategory": null,
"EventType": {
"EventTypeId": 1001,
"Name": "SNMP",
"Description": "SNMP event"
},
"Severity": {
"Id": 4,
"Name": "Normal",
"Description": "Normal"
},
"EventDefinitionId": -1228916117,
"Description": "Battery has returned to normal."
},
"FormatString": "$3",
"GenericTrapId": 6,
"SnmpEventId": 1000,
"SpecificTrapId": 1702
}]
}
2.7.2 /api/MIBImportService/Actions/MIBImportService.Save
POST
Description
Save parsed traps from MIB in the console. This URL provides functionality to save traps already parsed from the MIB.
Privilege
TRAP_MANAGEMENT
HTTP Response Codes
200
Input
200
Sample Json Input
[{
"EnterpriseOid": ".1.3.6.1.4.1.674.10892.1123123",
"EventDefinition": {
"EventCatalog": {
"EventCatalogId": 1000,
"Name": "MIB-Dell-108912",
"ReleaseVersion": "7.4.0"
},
"EventCategory": {
OpenManage Enterprise–Specific resource model
51