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 0.11
add get group info for zabbix.
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", }, } );
orange, <bollwarm at ijz.me>
<bollwarm at ijz.me>
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.
bug-Mojo-Zabbix at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Mojo-Zabbix
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Mojo-Zabbix
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Mojo-Zabbix
CPAN Ratings
http://cpanratings.perl.org/d/Mojo-Zabbix
Search CPAN
http://search.cpan.org/dist/Mojo-Zabbix/
https://github.com/bollwarm/Mojo-Zabbix.git https://git.oschina.net/ijz/Mojo-Zabbix =head1 ACKNOWLEDGEMENTS
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.
To install Mojo::Zabbix, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::Zabbix
CPAN shell
perl -MCPAN -e shell install Mojo::Zabbix
For more information on module installation, please visit the detailed CPAN module installation guide.