NAME
Zabbix::API::Graph -- Zabbix graph objects
SYNOPSIS
use Zabbix::API::Graph;
# TODO write the rest
DESCRIPTION
Handles CRUD for Zabbix graph objects.
This is a subclass of Zabbix::API::CRUDE
.
METHODS
- items([ITEMS])
-
Trivial mutator for the gitems array.
- push()
-
This method handles extraneous
item => Zabbix::API::Item
attributes in the gitems array, transforming them intoitemid
attributes, and pushing the items to the server if they don't exist already. The original item attributes are kept but hidden from theCRUDE
push
method, and restored after thepull
method is called.This means you can put
Zabbix::API::Item
objects in your data and the module will Do The Right Thing (assuming you agree with my definition of the Right Thing). Items that have been created this way will not be removed from the server if they are removed from the graph, however.Overriden from
Zabbix::API::CRUDE
.
SEE ALSO
AUTHOR
Fabrice Gabolde <fabrice.gabolde@uperto.com>
COPYRIGHT AND LICENSE
Copyright (C) 2011 SFR
This library is free software; you can redistribute it and/or modify it under the terms of the GPLv3.