Create User Defined Event
Add new User-Defined event.
Add new User-Defined events
{
"event_name": "string",
"is_problem": false,
"severity": "string",
"search_criteria": "string",
"generate_event_criteria": "string",
"email_frequency": "string",
"daily_at_utc": "string",
"email_ids": [
"string"
],
"snmp_trap_entity_ids": [
"string"
],
"notification_settings": [
{
"type": "string",
"frequency": "string",
"notification_time": "string",
"receivers": [
"string"
],
"enabled": false
}
]
}
event_name
is_problem
severity
search_criteria
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
email_frequency
daily_at_utc
email_ids
snmp_trap_entity_ids
Notifications configured for alerts corresponding to this alert configuration.
Success
"SubscriptionResponse Object"
entity_id
active
event_name
is_problem
severity
search_criteria
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
email_frequency
daily_at_utc
email_ids
snmp_trap_entity_ids
Notifications configured for alerts corresponding to this alert configuration.
Bad Request
"ApiError Object"
code
message
details
Unauthorized
"ApiError Object"
code
message
details
Forbidden
"ApiError Object"
code
message
details
Internal Error
"ApiError Object"
code
message
details
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/ni/api/ni/settings/events/user-defined-events