Pokud chceme monitorovat pomocí Zabbixu Elasticsearch server, tak se nám bude hodit Perl modul Search::Elasticsearch
Sice se na stránkách elastic o modulu píše, ale součásti repository pro CentOS modul neni.
https://www.elastic.co/guide/en/elasticsearch/client/perl-api/current/index.html
Po nějaké době hledání jsem našel repository OpenFusion, ale ten obsahuje jen starší verzi perl modulu.
Nezbude nam na CentOS 6 než použít cmanm
yum install perl-devel
yum install perl-CPAN
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
/usr/local/bin/cpanm Search::Elasticsearch
find / -name Elasticsearch.pm
/usr/local/share/perl5/Search/Elasticsearch.pm
Např. ve FreeBSD je to s Perl mudulama mnohem lepší.
p5-Search-Elasticsearch-1.20_1 ElasticSearch API
Sending SNMP Traps from One Source to Multiple Zabbix Hosts
-
Let’s say you are working in an environment with hundreds or thousands of
devices. All of these devices are managed from a nice simple management
server,...
před 6 dny


