Zabbix::API::Graph -- Zabbix graph objects
use Zabbix::API::Graph; # TODO write the rest
Handles CRUD for Zabbix graph objects.
This is a subclass of Zabbix::API::CRUDE.
Zabbix::API::CRUDE
Trivial mutator for the gitems array.
This method handles extraneous item => Zabbix::API::Item attributes in the gitems array, transforming them into itemid attributes, and pushing the items to the server if they don't exist already. The original item attributes are kept but hidden from the CRUDE push method, and restored after the pull method is called.
item => Zabbix::API::Item
itemid
CRUDE
push
pull
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.
Zabbix::API::Item
Overriden from Zabbix::API::CRUDE.
Zabbix::API::CRUDE.
Fabrice Gabolde <fabrice.gabolde@uperto.com>
Copyright (C) 2011 SFR
This library is free software; you can redistribute it and/or modify it under the terms of the GPLv3.
To install Zabbix::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zabbix::API
CPAN shell
perl -MCPAN -e shell install Zabbix::API
For more information on module installation, please visit the detailed CPAN module installation guide.