Giter VIP home page Giter VIP logo

docker-zabbix-agent's Introduction

Docker Zabbix agent#

This Docker container provides a patched Zabbix agent to monitor a real server and all his containers. It's monitor docker via python api It has additional scripts for monitoring:

Installation

Zabbix agent installation:

#!shell
docker run -d -p 10050:10050 -v /proc:/host/proc -v /sys:/host/sys -v /sys/fs/cgroup:/sys/fs/cgroup  -v /dev:/host/dev -v /var/run/docker.sock:/var/run/docker.sock \
     --name zabbix-agent -h zabbix-agent \
     -e RABBITMQ_HOSTNAME="rabbitmq" -e RABBITMQ_USERNAME="admin" -e RABBITMQ_PASSWORD="opentsp" \
     -e MYSQL_HOST="mysql" -e MYSQL_PORT="3306" -e MYSQL_USER="admin" -e MYSQL_PASSWORD="opentsp" \
     -e REDIS_HOSTNAME="redis" \
     --dns-search=weave.local \
         wddocker.mapbar.com/docker-zabbix-agent <zabbix-agent-host-name> zabbix-server

Server side installation

TODO: automate this

1.Login to the web (Admin/zabbix) 2.Navigate to "Configuration"->"Hosts" and push "Import" button

zabbix_configuration.png

3.Import files from /etc/zabbix/templates :

  • Import zbx_3rd_party_apps_host.xml or zbx_base_host.xml in last order

4.Go to the settings->hosts and rename recently created host to appropriate name

5.The result will be:

zabbix_result1.png

Monitoring->Latest data

zabbix_result2.png

zabbix_result5.png

Graphs

zabbix_result3.png

docker-zabbix-agent's People

Contributors

bhuisgen avatar interair avatar mchwang avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

diver2daze

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.