API: Filter operations

To get know more about Filters and Filtering please visit appropriate section.

The following actions can be performed with Filters:

JSON object Example

Object Fields description

Field Type Description

Name

String

Filter name

Example:
"Name""4 locations"

Id

Int32

Unique Filter ID

Example:
"Id": 1093

Description

String

Filter Description

Example:
"Description""4 locations Filter"

Rules

Object

Rules“Time_Min” defines duration of the reported error.

“Number_Of_Locations” defines number of monitoring locations which are sending error responses.

“Number_Of_Tasks” defines number failed tasks.

“Owner_Device” flag lets you enable, or disable verification if an Owner Device is DOWN.

Example:
"Rules": {
            "Time_Min": 5,
            "Number_Of_Locations": 4,
            "Number_Of_Tasks": 1,
            "Owner_Device"false
      }

Items

Array Containing objects

Ignore an Error Type with specific Error CodesList of Possible Error Types: Validation, Runtime, CustomScript, Certificate, Cryptographic, Tcp, Dns, Udp, Http, Ftp, Sftp, Smtp, Pop3, Imap, Icmp, IcmpV6, DnsBL, Media, Sip

Example:
"Items": [{
            "Error_Type""Http",
            "Error_Code_To_Ignore": [500]
      }, {
            "Error_Type""Tcp",
            "Error_Code_To_Ignore": [12501]
      }]

Assigned_To

Array Containing in32

This array contains list of device ids where an Alert Group is assigned.

Example:
"Assigned_To": [8533, 8534,9756]