Forwarding events to WebSocket services
You can configure Lenovo XClarity Administrator to push event notifications to WebSocket services.
About this task
The WebSocket subscriptions are not stored persistently in Lenovo XClarity Administrator. When Lenovo XClarity Administrator is rebooted, the WebSocket subscribers must subscribe again.
Procedure
To push event notification to a WebSocket service, complete the following steps.
- From the Lenovo XClarity Administrator menu bar, click . The Event Forwarding page is displayed.
- Click the Push Services tab.
- Click the link for the WebSocket Service in the Name column. The Change Push Notification dialog is displayed.
- Click the Subscriptions tab.
- Click the Create icon ().
- Enter the IP address of the destination host.
- Click Create.
- Select the new subscription, click Generate Test Event, and then verify that the events are forwarded correctly to the WebSocket service.
Results
Refresh the list of WebSocket services by clicking the Refresh icon ().
Delete subscriptions by selecting the subscriptions and clicking the Delete icon ().
Determine the status of the last attempted push for a specific subscription by viewing the content of the Status column. If the attempt failed, this column contains a message that describes the error.
Change the WebSocket service properties, including the connection idle time, maximum buffer size, maximum number of subscribers, and the register time-out period.
You can reset the WebSocket service to the default settings by clicking Restore Defaults.
Suspend pushing event notifications to all subscriptions for the WebSocket service by setting the State to Off.
From the Push Service tab on the Event Forwarding page, you can generate a test event for all WebSocket subscriptions by selecting the WebSocket service and clicking Generate Test Event.