Coder Social home page Coder Social logo

docker-zabbix-server's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

nissimk ppeterka

docker-zabbix-server's Issues

Allow shell into the zabbix container

Hi,

You only have one entrypoint, what about allowing "sh" or "bash", so one can "docker exec -i" into the container?

Also, Doc: connect to http://host/zabbix (add the zabbix path). Perhaps add --restart=always to the containers to they come up after a reboot. The zabbix container should not be created with --rm and should have -d ?

debugging zabbix via the shell

Thanks for the quick answer to #1, I was unable to answer sooner from my side.
The two containers start fine for me and the GUI login works.

But zabbix is not polling as I would expect (after I configured some items). Do I'd like to get on the shell of the zabbix container to look at the server logs.

tried "docker exec -i zabbix sh", but it just hangs.
Also tried to create a second "debug" container:

docker run --link mysql:db --rm -ti eit8ei8n/zabbix-server --entrypoint sh
mysql root and admin password: FOO
ERROR 1050 (42S01) at line 1: Table 'maintenances' already exists
ERROR 1062 (23000) at line 1: Duplicate entry '1' for key 'PRIMARY'
ERROR 1062 (23000) at line 2: Duplicate entry '10001' for key 'PRIMARY'
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message

(then the tty hangs)

The DB errors make sense since there are now two zabbix instances pointing at the same DB.

So what is the suggested method for debugging?

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.