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:image

Image

Methods

Class containing methods for operations with Images.

MethodsDescription
get() Get image details
exists() Check if image exists
create() Create images
update() Update image details
delete() Delete images

Object details

The table contains complete list of Image attributes.

ParameterTypeDescriptionDetails
imageidintImage ID
imagetypeintType
namestringImage description
imagestringImage binary data Sent as base64 encoded string

Common tasks

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

TaskHOWTO
Add an image Use method image.create
Add a bunch of new images Use method image.create with array of Image objects
Retrieve image details by Image IDs Use method image.get with parameter imageids
Retrieve images details by Image name Use method image.get with parameter filter, specify “name”: [“<your image>”]