monitoringartist / dockbix-agent-xxl

:whale: Dockerized Zabbix agent with Docker metrics and host metrics support for CoreOS, RHEL, CentOS, Ubuntu, Debian, Fedora, Boot2docker, Photon OS, Amazon Linux, ...
https://hub.docker.com/r/monitoringartist/dockbix-agent-xxl-limited/
Other
182 stars 54 forks source link

add custom low level discovery rule in python #21

Closed zbence closed 7 years ago

zbence commented 7 years ago

Hi I want to thank you for handling this awesome project.

I want to ask a little detail about how should I do that. Where place my .py file and which enviroment variable need to set to use as a discovery key in zabbix server?

jangaraj commented 7 years ago

How can you add your custom low level discovery rule in python to non-dockerized Zabbix?

zbence commented 7 years ago

I saw this post: https://garrigue.re/java-properties-into-json-via-python/ and I want something like this but inside the container but there isn't zabbix_agentd.d directory. I'm new to zabbix so I just need a comfirm this tutorial can work with this container?

jangaraj commented 7 years ago

No, docker image monitoringartist/zabbix-agent-xxl-limited:latest is designed only for collecting of Docker metrics. In the theory commercial docker image https://github.com/monitoringartist/zabbix-agent-xxl#paid-zabbix-agent-xxl-docker-image will allow you to add your customizations.

zbence commented 7 years ago

Okay thank you for the answer. I decided to use zabbix sender feature for this purpose then.