Creates and sends an alert event with error logs attached as an aid to troubleshooting customer issues.
event_id | Event id for these alerts
|
SYSTEM_ADMIN
The following conditions must be met in order to call this operation.
ConnectEMC should be configured and system should be licensed
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
event_create | |||
user_str | User written string | String | |
contact | Contact details | String | |
namespace | namespace | String | |
channel | Alert channel. Allowed values: EMC, CUSTOMER, BOTH, NONE |
String | |
severity | Alert severity. Allowed values: CRITICAL, ERROR, WARNING, INFO |
String |
Alert response to sent this alert to ConnectEMC
Field | Description | Type | Notes |
alert | |||
id | Event id | String | |
type | alert type | String | |
severity | alert severity | String | |
timestamp | Event creating time of yyyy-MM-dd'T'HH:mm:ss format. | String | |
namespace | Namespace for this event | String | |
description | Description for this alert | String | |
symptomCode | Symptom Code | String | |
acknowledged | acknowledgement state of alert | Boolean |
POST https://192.168.0.0:4443/vdc/callhome/alert HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> <event_create> <user_str>str</user_str> <contact>contact</contact> </event_create>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <alert> <id>urn:storageos:Alert:96a47d83-42c0-4b7f-bcab-958485b4b81d</id> </alert>