Zabbix Documentation 1.8

Alert (draft)

Class containing methods for operations with Alerts

Method Description
get Alerts data
add alerts
delete alerts

Methods

1 get

Available since version: 1.8
Parameters:
^Parameter^Type^Optional^Description^Details^

itemids array
hostids array
groupids array
alertids array
applicationids array
status array
templated_items array
editable array
extendoutput array
count array
pattern array
limit array
order array

Returns: array|int item data as array or false if error

2 add

Available since version: 1.8
Parameters: multidimensional array with alerts data
^Parameter^Type^Optional^Description^Details^

expression array
description array
type array Yes
priority array Yes
status array Yes
comments array Yes
url array Yes

Returns: boolean

3 delete

Available since version: 1.8
Parameters:
^Parameter^Type^Optional^Description^Details^ Returns: boolean

Examples