Zabbix Documentation 1.8

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

api:screen:exists

Table of Contents

exists()

Available since version: 1.8.3
This function allows you to check whether screen with given screen data exists.

Parameters

ParameterTypeOptionalDescriptionDetails
nodeidsarrayYes List of node IDs where to search for given screen
screenidstringYes Screen name
namestringYes Screen name

Returns

ParameterDescription
resultOperation successful. Result will contain boolean variable.
errorIn case of any errors

Example

Check if screen with name “ZABBIX Server” exists

{
"jsonrpc":"2.0",
"method":"screen.exists",
"params":{
	"name": "ZABBIX Server"
},
"auth":"3a57200802b24cda67c4e4010b50c065",
"id":2
}

Screen exists:

{
"jsonrpc":"2.0",
"result": true,
"id":2
}