Zabbix2::API::Application -- Zabbix application objects
# fetch a single app my $app = $zabber->fetch_single('Application', params => { filter => { name => 'CPU' }, hostids => [ 12345 ] }); # get its parent host (costs one API call) my $host = $app->host; # get its child items my $items = $app->items;
Handles CRUD for Zabbix application objects.
This is a subclass of Zabbix2::API::CRUDE; see there for inherited methods.
Zabbix2::API::CRUDE
(read-only Zabbix2::API::Host object)
This attribute is lazily populated from the application's host from the server.
(read-only arrayref of Zabbix2::API::Item objects)
This attribute is lazily populated from the application's items from the server.
Fabrice Gabolde <fga@cpan.org>
Copyright (C) 2014 Fabrice Gabolde
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Zabbix2::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zabbix2::API
CPAN shell
perl -MCPAN -e shell install Zabbix2::API
For more information on module installation, please visit the detailed CPAN module installation guide.