Giter Club home page Giter Club logo

Comments (3)

jangaraj avatar jangaraj commented on August 18, 2024 1

Docker/Kubernetes/Mesos/Marathon/Chronos/LXC/LXD/Swarm container monitoring is right title. You just have to deal with technology limitations - in this case maximum lenght of Zabbix item. Nobody is stopping you to write your own LLD discovery, which will connect to Kubernetes/Docker API and then it will create Zabbix items with nice human readable names. These items will use existing CPU/MEM/... metrics available from my current Zabbix docker module. Another options can be to set env variable per each container (!=pod) and then use them as a ID in discovery, for example: env variable HNAME and LLD discovery key: docker.discovery[Config,Env,HNAME=]. Everything depends on your skill/available time/budget.

from dockbix-agent-xxl.

jangaraj avatar jangaraj commented on August 18, 2024

k8s_nginx.eb9a4879_nginx-701339712-8rcxq_default_e1bca122-3650-11e7-83f6-42010a840180_b89a0cd9 is a friendly name of container; full not friendly id of that container can be for example 9ad36fe0c6d7b60f979082e51ce1b110eb683fef13077003e34e24ff90813620.

Note: container != pod. A pod is a group of one or more containers =>your request is not a correct. You need a Kubernetes monitoring, not a container monitoring.

Kubernetes monitoring is not implemented in https://github.com/monitoringartist/zabbix-docker-monitoring (module used by Dockbix agent). I'm happy to review your pull request - you will need to implement Kubernetes API communication (to get info about pods, services, nodes, ...) and then existing Docker monitoring can be used for low-level container monitoring.

That Kubernetes monitoring is not in my short term TODO, so I'm closing this issue. But as I said - I'm happy to review/merge if someone will create pull request.

from dockbix-agent-xxl.

xarly avatar xarly commented on August 18, 2024

Thanks for answer and for so awesome job. Then this agent is not fully useful to monitoring kubernetes containers since zabbix is not able to read names so long, or I am missing something?

I thought it was implemented because in repo description says "Docker/Kubernetes/Mesos/Marathon/Chronos/LXC/LXD/Swarm container monitoring", well maybe it can agent can read metrics but zabbix cannot parse those names...

Thanks

from dockbix-agent-xxl.

Related Issues (20)

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.