NAME
Zabbix2::API::Application -- Zabbix application objects
SYNOPSIS
# 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;
DESCRIPTION
Handles CRUD for Zabbix application objects.
This is a subclass of Zabbix2::API::CRUDE
; see there for inherited methods.
ATTRIBUTES
host
(read-only Zabbix2::API::Host object)
This attribute is lazily populated from the application's host from the server.
items
(read-only arrayref of Zabbix2::API::Item objects)
This attribute is lazily populated from the application's items from the server.
SEE ALSO
AUTHOR
Fabrice Gabolde <fga@cpan.org>
COPYRIGHT AND LICENSE
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.