Available Methods
- Get Device List by Platform
- Get Device Info
- Create New Device
- Edit Device
- Delete Device
- Disable Alerts for Device
Connection Sample
Fields Description
Use these fields to specify information about a Device in your API requests.
Field |
Type |
Description | ||
Avoid_Simultaneous_Checks |
boolean |
Indicates if the simultaneous check from the multiple monitoring locations is allowed. Available only for ServerView devices.
Example:
|
||
Alert_Silence_Min |
int32 |
READ-ONLY. Defines time period in minutes when all alerts are disabled. To disable alerts, use API: Disable Alerts for Device or API: Disable Alerts for Several Devices.
Example:
|
||
False_Positive_Check |
boolean |
When an error is detected we run a series of checks to ensure it is not a false alert. Those checks may take some time, depending on the error type and the number of tasks in the device. This may cause some delay in the downtime alert. You can disable (“true” state) false positive check to ensure an immediate downtime alert, but it may result in some “false” alerts. We recommend NOT to disable the “False positive check”.
Example:
|
||
Locations |
array of int32 |
An array containing location IDs assigned to a specified device. At least one location must be specified in the requests.
Example:
|
||
Tags |
array of string |
An array containing names of the tags assigned to a specified device.
Example:
|
||
Send_Uptime_Alert |
boolean |
When this option is enabled, you will receive an alert when all detected errors are resolved.
Example:
|
||
Status_Description |
string |
READ-ONLY. Describing current device state.
Example:
|
||
Postpone |
boolean |
Monitoring can be set on pause by postponing a device.
Example:
|
||
Owner_Device_Id |
int32 |
This field reflects the Owner Device ID.
Example:
|
||
Frequency |
int32 |
This field reflects monitoring frequency in seconds.
Example:
|
||
Filter_Id |
int32 |
This field reflects the Filter ID assigned to a device.
Example:
|
||
Scheduler_Id |
int32 |
This field reflects the Scheduler ID assigned to a device.
Example:
|
||
Notifications |
array of objects |
Indicates a list of alert settings.
Example #1:
Example #2:
|
||
E_Mail_Flag |
boolean |
Defines if an email alert will be sent.
Example:
|
||
E_Mail_Address |
string |
Specifies an email address for email alerts.
Example:
|
||
E_Mail_TimeInterval_Min |
int32 |
This field allows setting an interval between email alerts in minutes
Example:
|
||
WL_Device_Flag |
boolean |
Defines if a wireless device alert will be sent.
Example:
|
||
WL_Device_Email_Address |
string |
This field specifies a wireless device, such as a phone or pager, for alerts.
Example:
|
||
WL_Device_TimeInterval_Min |
int32 |
This field allows setting an interval between wireless device alerts in minutes.
Example:
|
||
Pager_Flag |
boolean |
Defines if pager alerts will be sent.
Example:
|
||
Pager_Area_Code |
string |
Pager area code.
Example:
|
||
Pager_Phone |
string |
Pager Phone.
Example:
|
||
Pager_Num_Code |
string |
Code for numeric pagers.
Example:
|
||
Pager_TimeInterval_Min |
int32 |
This field allows setting an interval between pager alerts in minutes.
Example:
|
||
Phone_Flag |
boolean |
Defines if phone call alerts will take place. To receive alerts via phone set the value to “true” and specify the phone number. Phone alerts are interactive, allowing you to postpone subsequent alerts once an alert is received.
Example:
|
||
Phone_Area_Code |
string |
If the country code is “1” (for example, in the US, Canada, and the Caribbean), enter the area code and number (for example, 952-5134349). For all other country codes, use the prefix “011”, the country code, and the phone number (for example, 011-44-95-2244392).
Example:
|
||
Phone_Phone |
string |
Phone number.
Example:
|
||
Phone_TimeInterval_Min |
int32 |
This field allows setting an interval between phone calls.
Example:
|
||
SMS_Flag |
boolean |
Defines if SMS alerts will be sent.
Example:
|
||
SMS_Phone |
string | A phone number with a country code (for example: US – 1 952 513 4349; UK 449524 4392). Do NOT use an international dialing prefix, such as “011” in the number.
Example:
|
||
SMS_TimeInterval_Min |
int32 |
This field allows setting an interval between SMS alerts.
Example:
|
||
Script_Flag |
boolean |
This field defines if alerting will be performed by a custom alert script.
Example:
|
||
Script_Batch_File_Name |
string |
Custom Script filename. Script has to be already installed on the server.
Example:
|
||
Script_TimeInterval_Min |
int32 |
This field allows setting an interval between custom script alerts.
Example:
|
||
Notification_Groups |
array of objects |
Indicates active alert groups with their ID and time shift. Timeshift is an option that allows you to create an Alert Escalation process that is based on the duration of the error condition, For example, the First notification group can be notified immediately, the Second – after 10-minutes of downtime, and the third group – after 60-minutes of downtime. Alert Escalation time intervals range from immediate to three hours.
Example:
|
||
Number_Of_Tasks |
int32 |
READ ONLY Field. Shows the number of tasks under the specified device.
Example:
|
||
int32 |
READ ONLY Field. The unique device ID. Assigned automatically upon a new device creation. Use to specify a device in requests.
Example:
|
|||
Platform_Id |
int32 |
READ ONLY Field. Each Platform (ServerView, UserView, etc.) has its own ID. See how to get platforms’ IDs here.
Example:
|
||
Name |
string |
The name of the device.
Example:
|