Zabbix Documentation 1.8

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


Sidebar

api:graphitem

Graphitem

Methods

Class containing methods for operations with Graphitems.

MethodsDescription
get() Get graphitem details

Object details

The table contains complete list of Graphitem attributes.

ParameterTypeDescriptionDetails
gitemidintegerGraphitem ID
graphidintegerGraph ID
itemidintegerItem ID
drawtypeintegerDraw type Line(0), filled region(1), bold line(2), dot(3), dashed(4), gradient(5)
sortorderintegerPosition in legend
colorstringDraw color Hex RGB
yaxissideintegerGraph Y axis side left (0), right (1)
calc_fncintegerGraph item data selection function min(1), max(4), avg(2), all(7)
typeintegerGraph item type simple (0), aggregated (1), graph sum (2) - used in Pie and Exploded graph types
periods_cntintegerAggregated periods count

Common tasks

The table contains list of common graphitem-related tasks and possible implementation using Zabbix API

TaskHOWTO
Get a graphitem Use method graphitem.get