Message Source is used to connect with 3rd-party message sources,
takes over 3rd-party alarm messages, and uniformly pushes these messages to various
endpoints, whereby achieving unified managements and enhancing operations and
maintenance efficiencies for these alarm messages. Currently, Message Source lets you
take over alarm messages of Enterprise edition storages.
To use the Message Source feature, go to Settings > Global Settings > Advanced, locate Switch for Third-Party Alarm, and set the
value to true.
Create Message Source
In the navigation pane of the ZStack Private Cloud UI, choose Platform O&M > ZWatch > Message Source, On the Message Source page, click
Create Message Source. On the displayed Create
Message Source page, set the following parameters:
Name: Enter a name for the message source.
Description: Optional. Enter a description for the
message source.
Product Type: Select a product to receive alarm
messages. Currently, the Enterprise edition of Ceph storage is
supported.
Login Address with token: Enter a correct third-party
login address and obtain the token information from the third-party product
page. The input format is http://{IP address of the third-party
platform}:{port No.}/v1/alerts/?token={access token}.
Alarm message conversion template: Converts
third-party alarm messages into alarm messages on the Cloud. The Cloud
provides a preconfigured conversion templates. You can customize the
parameters as needed.
The following is an example of
the alarm message conversion
template:
You can create a message source, as shown in Figure 1.Figure 1. Create Message Source
Message Source Operations
You can perform the following operations on a message source:
Enable: Enable the message source that you selected. You can configure
third-party alarms to receive alarm messages.
Disable: Disable the message source that you selected. After a message
source is disabled, the third-party alarms that use this message source
cannot receive alarm messages.
Delete: Delete the message source that you selected.