alertservice.test¶
Send a test alert using type of Alert Service.
No Additional Items
Tuple Validation
Parameter 1: alert_service_create
alert_service_create
Type: objectNo Additional Properties
Name
Type: stringMust be at least 1
characters long
Attributes
AWSSNSServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "AWSSNS"
"AWSSNS"
Region
Type: stringMust be at least 1
characters long
Topic Arn
Type: stringMust be at least 1
characters long
Aws Access Key Id
Type: stringMust be at least 1
characters long
Aws Secret Access Key
Type: stringMust be at least 1
characters long
InfluxDBServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "InfluxDB"
"InfluxDB"
Host
Type: stringMust be at least 1
characters long
Username
Type: stringMust be at least 1
characters long
Password
Type: stringMust be at least 1
characters long
Database
Type: stringMust be at least 1
characters long
Series Name
Type: stringMust be at least 1
characters long
MailServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "Mail"
"Mail"
MattermostServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "Mattermost"
"Mattermost"
Url
Type: stringFormat: uriMust be at least 1
characters long
Must be at most 2083
characters long
Username
Type: stringMust be at least 1
characters long
Channel
Type: string Default: ""Icon Url
Type: stringFormat: uri Default: ""Must be at least 1
characters long
Must be at most 2083
characters long
OpsGenieServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "OpsGenie"
"OpsGenie"
Api Key
Type: stringMust be at least 1
characters long
Api Url
Type: stringFormat: uri Default: ""Must be at least 1
characters long
Must be at most 2083
characters long
PagerDutyServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "PagerDuty"
"PagerDuty"
Service Key
Type: stringMust be at least 1
characters long
Client Name
Type: stringMust be at least 1
characters long
SlackServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "Slack"
"Slack"
Url
Type: stringFormat: uriMust be at least 1
characters long
Must be at most 2083
characters long
SNMPTrapServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "SNMPTrap"
"SNMPTrap"
Host
Type: stringPort
Type: integerValue must be greater or equal to 1
and lesser or equal to 65535
V3
Type: booleanCommunity
Default: nullMust be at least 1
characters long
V3 Username
Default: nullMust be at least 1
characters long
V3 Authkey
Default: nullMust be at least 1
characters long
V3 Privkey
Default: nullMust be at least 1
characters long
V3 Authprotocol
Type: enum (of null or string) Default: nullMust be one of:
- null
- "MD5"
- "SHA"
- "128SHA224"
- "192SHA256"
- "256SHA384"
- "384SHA512"
V3 Privprotocol
Type: enum (of null or string) Default: nullMust be one of:
- null
- "DES"
- "3DESEDE"
- "AESCFB128"
- "AESCFB192"
- "AESCFB256"
- "AESBLUMENTHALCFB192"
- "AESBLUMENTHALCFB256"
TelegramServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "Telegram"
"Telegram"
Bot Token
Type: stringMust be at least 1
characters long
Chat Ids
Type: array of integerMust contain a minimum of 1
items
Each item of this array must be:
VictorOpsServiceModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "VictorOps"
"VictorOps"
Api Key
Type: stringMust be at least 1
characters long
Routing Key
Type: stringMust be at least 1
characters long
Level
Type: enum (of string)Must be one of:
- "INFO"
- "NOTICE"
- "WARNING"
- "ERROR"
- "CRITICAL"
- "ALERT"
- "EMERGENCY"
Enabled
Type: boolean Default: trueResult
Type: booleanRequired roles: ALERT_WRITE