Get Alert DefinitionsDetails
Get details of alert definition
Path Parameters
- id int32 required
Query Parameters
- additionalProperties boolean
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
alertSummary object
type object
id int32id of the alert definition
name stringPossible values: [
Clients
,Edge drive-Share operations
,License
,MediaAgents
,Users
,Client Group License Usage Check
,Data aging is disabled for n days
,Expiring clones
,Index Backup Status
,Index State
,Notify decommissioned Virtual Machines
,Auxiliary Copy
,Data Aging
,Data Protection
,Data Recovery
,DeDup DB Reconstruction
,Disaster Recovery Backup
,Device Status
,Library Management
,Admin Alert
,Event Viewer Events
,Updates Available to Download
,No DDB Verification Job in last n days
,HyperScale-HardwareAlerts
,Replication
]type of the alert definitions
category object
id int32id of the category of the alert definition
name stringPossible values: [
Configuration
,Custom Rules
,Job Management
,Media Management
,Operation
,Software Updates
]category of the alert definition
criteria object
id int32id of the criteria of detection for the alert definition
name stringPossible values: [
Backup Job Failed
,Backup Job Skipped
,Backup Job Succeeded
,Increase in Data size by n percent for backup job
,Backup Job Activity
,Backup Delayed by n Hrs
,Backup Job completed with Errors
,Backup Job Started
,No Backup for last n Days
,Restore Job Failed
,Restore Job Skipped
,Restore Job Succeeded
,Restore Job Activity
,Restore Job Started
,Restore Job completed with Errors
,Disk space low on client
,Failover started
,Failover activity
,Failover completed
,Failover failed
,Production Commserve is not reachable
,Production Commserve is not running
,Passive node is not reachable
,May miss SLA
,VM Backup succeeded
,VM Backup failed
,VM Backup succeeded with errors
,Missed SLA
,Replication Delayed by n Hrs
,No Replication in last n Days
,In Sync
,Sync Pending
,Sync Paused
,Sync Failed
,Failover Failed
,Failover Complete
,Failback Failed
,Undo Failover Failed
]criteria of detection for the alert definition
paramsList object[]
unit int32Unit of the criteria(For eg. :Hrs,min)
type int32Input value type (default 0 = no input required)
value int32Value of the criteria (deefault 0 : if no value required)
paramIndex int32Param order index
- sendIndividualNotifications boolean
true if individual notifications are on for the alert definitions
- processDiscoveredVMs boolean
Set to true for all Virtual Machine related alerts.
associations object[]
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
ALL_SERVERS
,ALL_SERVER_GROUPS_ENTITY
,SERVER_GROUP_ENTITY
,SERVER_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
,BACKUPSET_ENTITY
,SUBCLIENT_ENTITY
,REPLICATION_PAIR_ENTITY
,BLR_PAIR_ENTITY
,FS_REPLICATION_PAIR_ENTITY
]parentEntity1 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]parentEntity2 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]parentEntity3 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]parentEntity4 object
parentEntity1 can only have type SERVER_ENTITY.parentEntity2 can only have type APPTYPE_ENTITY.parentEntity3 can only have type INSTANCE_ENTITY.parentEntity4 can only have type BACKUPSET_ENTITY.
id int32id of the associated entity
name stringname of the associated entity
type stringPossible values: [
SERVER_ENTITY
,BACKUPSET_ENTITY
,APPTYPE_ENTITY
,INSTANCE_ENTITY
]alertTarget object
Please note CONTENT_INDEX will be returned at all times as it is enabled at all times.
sendAlertTo string[]Possible values: [
LIVEFEEDS
,SNMP
,WEBHOOK
,EMAIL
,APPLOG
,CONTENT_INDEX
]recipientsOperationType stringPossible values: [
ADD
,DELETE
,OVERWRITE
]Allows adding to, overwriting and deleting existing recipients. default is adding to existing recipients
recipients object
to object[]
id int32name stringtype stringPossible values: [
USER
,USER_GROUP
,EMAIL
,AD_USERGROUP
]cc object[]
id int32name stringtype stringPossible values: [
USER
,USER_GROUP
,EMAIL
,AD_USERGROUP
]bcc object[]
id int32name stringtype stringPossible values: [
USER
,USER_GROUP
,EMAIL
,AD_USERGROUP
]webHookId int32id of the webhook to be associated with the alert definition. Only needed incase of webhook notif selected. To get a list of webhooks, use api GET Webhook
templates object
locale object
id int32name stringemail stringthe message template for the email notification. Contains both email subject as well as body
console stringthe message template for the console notification
eventViewer stringthe message template for the event viewer notification
webhook stringthe message template for the webhook notification
additionalProperties object
status int32Tells status of alert. Can be used to find if alert is enabled or not.
{
"id": 0,
"name": "string",
"alertSummary": {
"type": {
"id": 0,
"name": "Clients"
},
"category": {
"id": 0,
"name": "Configuration"
},
"criteria": {
"id": 0,
"name": "Backup Job Failed",
"paramsList": [
{
"unit": 0,
"type": 0,
"value": 0,
"paramIndex": 0
}
]
}
},
"sendIndividualNotifications": true,
"processDiscoveredVMs": true,
"associations": [
{
"id": 0,
"name": "string",
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
}
}
],
"alertTarget": {
"sendAlertTo": [
"LIVEFEEDS"
],
"recipientsOperationType": "ADD",
"recipients": {
"to": [
{
"id": 0,
"name": "string",
"type": "USER"
}
],
"cc": [
{
"id": 0,
"name": "string",
"type": "USER"
}
],
"bcc": [
{
"id": 0,
"name": "string",
"type": "USER"
}
],
"webHookId": 0
}
},
"templates": {
"locale": {
"id": 0,
"name": "string"
},
"email": "string",
"console": "string",
"eventViewer": "string",
"webhook": "string"
},
"additionalProperties": {
"status": 0
}
}
Internal Server Error