Skip to main content

GET/PATCH – Event destination properties

Use the GET/PATCH method to retrieve properties in EventDestination resource for Redfish service.

Request URL

https://<SMM_IPADDR>/redfish/v1/EventService/Subscriptions/{ID}

Request body

None

Response body

Field

Type

Description

Context

String

A client-supplied string that is stored with the event destination subscription.

“CustomerServiceAttention”

Destination

String

The URI of the destination event receiver.

“snmp://192.168.70.125:162”

EventTypes

Array

[“Alert”, “ResourceAdded”, “ResourceRemoved”, “ResourceUpdated”, “StatusChange”]

EventFormatType

String

“Event”

Id

String

Index of the Subscription

Name

String

“Event Destination”

Protocol

String

“SNMPv2c”

Severities

Array

The list of severities that are sent to this event destination.

[“Critical”]

SNMP

Object

Expanded

 

TrapCommunity

String

The SNMP trap community string

OEM

Object

Expanded

 

Lenovo

Object

Expanded

  

Enable

Boolean

Subscription mode

  

IPAddressType

String

“IPv4” or “IPv6”

SubscriptionType

String

SNMPTrap, Syslog, SSE, RedfishEvent

REST operationPATCH

OperationPropertiesComment
PATCH

Destination

For other properties defined in the schema, if the format is correct, it will be ignored, otherwise the error 400 bad request is returned.
Note

This property is required. For SMTP, the format shall be “mailto:<email>” and it doesn’t support special characters except ‘-‘, ‘_’ and ‘.’.

For SNMPv2c, the format shall be consistent with RFC4088: “snmp://<host>:<port>”.

Oem/Lenovo/Enable

Mode for this subscription

Oem/Lenovo/IPAddressType

Host IP method type