Download OpenAPI specification:Download
This is the spec that defines the API provided by the SNMP Service.
[- {
- "id": 0,
- "type": "string",
- "host": "string",
- "v2community": "string",
- "v3user": "string",
- "v3authprotocol": "string",
- "v3authpassword": "string",
- "v3privprotocol": "string",
- "v3privpassword": "string"
}
]
Delete the specified trap subscriber from the SNMP service.
host required | string Host (IP or hostname) of the trap subscriber entry to be deleted. |
{- "message": "Subscriber is not found.",
- "code": 101
}
Register trap subscriber with the SNMP service.
Register a new trap subscriber for SNMP messages.
id required | integer |
type required | string |
host required | string |
v2community | string |
v3user | string |
v3authprotocol | string |
v3authpassword | string |
v3privprotocol | string |
v3privpassword | string |
{- "id": 0,
- "type": "string",
- "host": "string",
- "v2community": "string",
- "v3user": "string",
- "v3authprotocol": "string",
- "v3authpassword": "string",
- "v3privprotocol": "string",
- "v3privpassword": "string"
}
{- "id": 0,
- "type": "string",
- "host": "string",
- "v2community": "string",
- "v3user": "string",
- "v3authprotocol": "string",
- "v3authpassword": "string",
- "v3privprotocol": "string",
- "v3privpassword": "string"
}
Get the detailed output of a request previously executed, based on a given request ID.
id required | string Detailed output of a request previously executed, based on a given request ID. |
{- "start_time": "2000-01-23T04:56:07.000Z",
- "end_time": "2000-01-23T04:56:07.000Z",
- "id": "id",
- "parameters": "host=10.0.0.2",
- "logs": "logs",
- "command": "subscriber add",
- "status": "Failed, Succeeded"
}
Get the list of all the requests previously executed.
limit required | integer Default: 10 Limit the number of executions that will be sent in the response. Default is 10 |
status | string Default: "all" Filter the executions based on the status (failed/succeeded/all). |
{- "items": [
- {
- "start_time": "2000-01-23T04:56:07.000Z",
- "end_time": "2000-01-23T04:56:07.000Z",
- "id": "id",
- "command": "subscriber add",
- "status": "Successful"
}, - {
- "start_time": "2000-01-23T04:56:07.000Z",
- "end_time": "2000-01-23T04:56:07.000Z",
- "id": "id",
- "command": "subscriber add",
- "status": "Successful"
}
]
}
{- "Service": "string"
}