NAME

Mojo::Zabbix - A simple perl wrapper of Zabbix API.

Mojo::Zabix - 是对zabbix api函数的简单打包,以便更易于用perl脚本进行 访问操作zabbix。目前仅支持认证和请求方法,可以用其进行create/get /update/delete/exists方法调用,见例子。本模块基于Mojo::UserAgent,结果 可以用Mojo:DOM进行处理和内容提取。

VERSION

Version 0.11

add get group info for zabbix.

SYNOPSIS

use Mojo::Zabbix;

my $z = Net::Zabbix->new(
        url => "https://server/zabbix/",
        username => 'user',
        password => 'pass',
        debug => 1,
        trace => 0,
);

my $r = $z->get("host", {
        filter => undef,
        search => {
            host => "test",
        },
    }
);

AUTHOR

orange, <bollwarm at ijz.me>

BUGS

Please report any bugs or feature requests to bug-Mojo-Zabbix at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Mojo-Zabbix. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

   perldoc Mojo-Zabbix

You can also look for information at:

Git repo

https://github.com/bollwarm/Mojo-Zabbix.git https://git.oschina.net/ijz/Mojo-Zabbix =head1 ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2016 orange.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.