alertservice.test ================= Send a test alert using `type` of Alert Service. .. examples(websocket):: Send a test alert using Alert Service of Mail `type`. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "alertservice.test", "params": [{ "name": "Test Email Alert", "enabled": true, "type": "Mail", "attributes": { "email": "dev@ixsystems.com" }, "settings": {} }] } .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: alert_service_create

alert_service_create

Type: object
No Additional Properties

Name

Type: string

Must be at least 1 characters long

Type

Type: string

Attributes

Type: object

Level

Type: string

Enabled

Type: boolean Default: true

Result

Type: boolean


*Required roles:* ALERT_WRITE