Git Product home page Git Product logo

druid's People

Contributors

drvtiny avatar vitalywhite avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

vitalywhite

druid's Issues

Doesn't work it_service.pl mv

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.

Отсутствие таблицы services в mysql при построении дерева

Появляется подобная ошибка во время попытки задать дочерний сервис.
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"
}

mysql

Auto remove child services after deassoc

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]
...

Unavailable ZApi::Controller::Zapiwrap

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.

it_service.pl assoc syntax

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.