Skip to main content

GET – Event subscriptions for SNMPv3-{N}-{M}

Use the GET method to retrieve properties in event subscription entries for a server.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/EventService/Subscriptions/REST-SNMPv3-{N}-{M}

Request body

None

Response body

FieldTypeDescription

Id

StringREST-SMTPv3-{N}-{M}, where N is the account index ranging from 1 -12, M is the subscription index ranging from 1-3.

Name

StringUser name of SNMPv3.

Context

StringEmpty string.

Status

ObjectExpanded
 

State

StringThe state of this subscription. Possible values are “Enabled” and “Disabled”.

EventFormatType

Boolean“Event“

Destination

StringThis property shall contain a URI to the destination where the events will be sent.

SubscriptionType

String“SNMPTrap“

Description

ArrayThis resource represents an event destination for a Redfish implementation.

Protocol

String“SNMPv3”

SNMP

ObjectExpanded
 

TrapCommunity

Stringnull

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"SubscriptionType": "SNMPTrap",
"@odata.etag": "\"3f6d1b3b4bba27279a2\"",
"Id": "REST-SNMPv3-3-1",
"Name": "test",
"@odata.type": "#EventDestination.v1_11_2.EventDestination",
"@odata.id": "/redfish/v1/EventService/Subscriptions/REST-SNMPv3-3-1",
"Status": {
"State": "Enabled"
},
"EventFormatType": "Event",
"@odata.context": "/redfish/v1/$metadata#EventDestination.EventDestination",
"Context": "",
"Protocol": "SNMPv3",
"Destination": "snmp://test@10.10.10.10",
"Description": "This resource represents an event destination for a Redfish implementation.",
"SNMP": {
"TrapCommunity": null
}
}