drvtiny / druid Goto Github PK
View Code? Open in Web Editor NEWRESTful backend for Zabbix dashboards infrastructure
License: MIT License
RESTful backend for Zabbix dashboards infrastructure
License: MIT License
When I try to use it_service.pl mv
I have output looks like this:
root@zabbix-test:/opt/druid/1.0.1# itsvc mv 260 373
Undefined subroutine &Monitoring::Zabipi::ITServices::doMoveITService called at /opt/druid/current/engine/tools/itsvc line 131.
Появляется подобная ошибка во время попытки задать дочерний сервис.
Server version: 10.1.43-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04
root@zabbix-test:~/Druid/engine# ./tools/itsvc create 'Test_child' -p 1
DBD::mysql::st execute failed: Duplicate entry '1' for key 'PRIMARY' at /home/user/Druid/engine/tools/../lib/Monitoring/Zabipi/ITServices.pm line 381.
{
"error" : "DBD::mysql::st execute failed: Duplicate entry '1' for key 'PRIMARY' at /home/user/Druid/engine/tools/../lib/Monitoring/Zabipi/ITServices.pm line 381.\n"
}
After use deassoc stay associated child services and they must be removed manually.
Example:
root@zabbix-test:~# itsvc ls 425
=> Test_child (h10084) [425]
0| /etc/passwd has been changed on Zabbix server [495]
0| Configured max number of opened files is too low on Zabbix server [505]
...
root@zabbix-test:~# itsvc deassoc 425
{
"result" : "1"
}
root@zabbix-test:~# itsvc ls 425
=> Test_child [425]
0| /etc/passwd has been changed on Zabbix server [495]
0| Configured max number of opened files is too low on Zabbix server [505]
...
Debian 10 x64
hypnotoad[29799]: Can't load application from file "/opt/druid/current/zapi/script/zapi": error at /opt/druid/1.0.1/zapi/script/../lib/ZApi/Controll
hypnotoad[29799]: Compilation failed in require at (eval 85) line 1.
perl -c /opt/druid/current/zapi/lib/ZApi.pm
Can't locate ZApi/Controller/Zapiwrap.pm in @inc (you may need to install the ZApi::Controller::Zapiwrap module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.
1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_6
4-linux-gnu/perl-base) at /opt/druid/current/zapi/lib/ZApi.pm line 3.
BEGIN failed--compilation aborted at /opt/druid/current/zapi/lib/ZApi.pm line 3.
Change syntax from it_service.pl assoc $serviceid g1234
to
assoc /service/name group 'Group Name'
assoc /service/name host host.name
or another variant.
When I create new service under root and associate it with single host - sync_group_and_service.pl skips this service. But if I use sync_group_and_service.pl with serviceid of created service then synchronize is ok.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.