Alerts suppression (REST)

GET Alert suppressions

Lists all existing alert suppressions (incident downtimes).

The response can optionally be filtered by a System Profile, an Incident Rule, or a combination of both.

The request produces application/json.

GET
  • AppMon 2017 May https://{server}:8021/api/v2/alertsuppression
  • AppMon 2018 April https://{server}:8021/api/v3/alertsuppression
  • AppMon 2018 October https://{server}:8021/api/v4/alertsuppression

PUT Alert suppression

Creates incident downtime with specified parameters. In such an incident downtime already exists, it will be overwritten.

You can either create a one-time suppression by setting the JSON property 'once' to 'true', or create a repeatedly scheduled suppression by providing either a Quartz cron expression or a reference to business hours defined in the self-monitoring System Profile.

Referencing business hours means the alert suppression will be active outside the defined business hours. Setting a duration will have no effect if business hours are referenced.

You can create a global alert suppression, which affects all existing and future System Profiles and Incident rules, by leaving System Profiles and Incident rules unspecified.

The request consumes application/json.

PUT
  • AppMon 2017 May https://{server}:8021/api/v2/alertsuppression/{suppression}
  • AppMon 2018 April https://{server}:8021/api/v3/alertsuppression/{suppression}
  • AppMon 2018 October https://{server}:8021/api/v4/alertsuppression/{suppression}

GET Alert suppression

Inquires information about the specified incident downtime.

The request produces application/json.

GET
  • AppMon 2017 May https://{server}:8021/api/v2/alertsuppression/{suppression}
  • AppMon 2018 April https://{server}:8021/api/v3/alertsuppression/{suppression}
  • AppMon 2018 October https://{server}:8021/api/v4/alertsuppression/{suppression}

DELETE Alert suppression

Deletes the specified incident downtime.

DELETE
  • AppMon 2017 May https://{server}:8021/api/v2/alertsuppression/{suppression}
  • AppMon 2018 April https://{server}:8021/api/v3/alertsuppression/{suppression}
  • AppMon 2018 October https://{server}:8021/api/v4/alertsuppression/{suppression}
DELETE
https://<server>:8021/api/v3/alertsuppression/<suppression>