iLO Event services
This section is a complement to the generic Redfish® Event Service section. It contains some specificities of its implementation in HPE iLO 5 and HPE iLO 6 management controllers.
Information concerning iLO events is also present in the iLO Telemetry section.
HPE iLO 5 Event service
HPE iLO 5 implements a version of the Redfish Event Service older than
version 1.3.
As such, events are based on the EventTypes
property,
not on the RegistryPrefixes
property.
However, the generic flow for subscribing, receiving and interpreting events is the same as the newer versions of the standard. Refer to the Redfish® Event Service section for more information.
The following example creates an event subscription in an HPE iLO 5
based server. As the Alert
event type is part of the body request,
the event listener will receive
Alert Event Log
messages asynchronously.
POST /redfish/v1/EventService/Subscriptions/
{
"Destination": "https://{{EventListener}}/RedfishEvents/EventReceiver.php",
"EventTypes": [
"StatusChange",
"ResourceUpdated",
"ResourceAdded",
"ResourceRemoved",
"Alert"
],
"Context": "Public"
}
{
"error": {
"code": "iLO.0.10.ExtendedInfo",
"message": "See @Message.ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"MessageId": "Base.1.17.Created"
}
]
}
}
{
"@odata.context": "/redfish/v1/$metadata#EventDestination.EventDestination",
"@odata.etag": "W/\"29049257\"",
"@odata.id": "/redfish/v1/EventService/Subscriptions/1/",
"@odata.type": "#EventDestination.v1_13_0.EventDestination",
"Id": "1",
"Context": "Public",
"Description": "iLO Event Subscription",
"Destination": "https://192.168.1.46/RedfishEvents/EventReceiver.php",
"EventTypes": [
"StatusChange",
"ResourceUpdated",
"ResourceAdded",
"ResourceRemoved",
"Alert"
],
"HttpHeaders": [],
"MetricReportDefinitions": [],
"Name": "Event Subscription",
"Oem": {
"Hpe": {
"@odata.context": "/redfish/v1/$metadata#HpeEventDestination.HpeEventDestination",
"@odata.type": "#HpeEventDestination.v2_1_0.HpeEventDestination",
"DeliveryRetryAttempts": 3,
"DeliveryRetryIntervalInSeconds": 30,
"MutualAuthenticationEnabled": false,
"RequestedMaxEventsToQueue": 3,
"RetireOldEventInMinutes": 10
}
},
"Protocol": "Redfish",
"SubscriptionType": "RedfishEvent"
}
TIP
Refer to the Telemetry Service for examples explaining how to to receive periodically metric report events.
HPE iLO 6 Event service
HPE iLO 6 implements a version of the Redfish Event Service newer than
version 1.3. As such, events are based on the RegistryPrefixes
property
described in the Redfish Event Service
section. Refer to this generic section for the numerous standard examples.
Refer to the Telemetry Service for examples explaining how to to receive periodically metric reports.