dimuskin / ax-zabbix-docker Goto Github PK
View Code? Open in Web Editor NEWZabbix Windows Docker Monitoring
Zabbix Windows Docker Monitoring
Hi everybody,
Does this also support swarm or only docker standalone? would be nice to get the "swarm status" in to zabbix.
kind regards
Tuxinator
if I restart a container, it shows my TZ hours (e. g. 3 hours) running.
I have probem with active template. Zabbix server return log this message and not show discovery container on host:
12279:20171004:143910.298 error reason for "docker-db:docker.containers[r-nfs-nfs-driver-4-2199775c, status]" changed: Value "{"data":
[{"{#CONTAINERID}": "451c724d48a0", "{#CONTAINERNAME}": "r-dns-rancher-dns-4-1c0f83b4"}, {"{#CONTAINERID}": "f210708e7098", "{#CONTAINERNAME}"
: "r-proxy-nginx-proxy-4-59ba4e87"}, {"{#CONTAINERID}": "81ac9073dd2f", "{#CONTAINERNAME}": "r-ipsec-ipsec-router-4-e70a50e1"}, {
"{#CONTAINERID}": "b2df977f95a6", "{#CONTAINERNAME}": "r-ipsec-ipsec-4-665284bc"}, {"{#CONTAINERID}": "5736b84c1b49", "{#CONTAINERNAME}
": "r-network-services-metadata-dns-4-29c55260"}, {"{#CONTAINERID}": "2cc59ffbdfb1", "{#CONTAINERNAME}": "r-ipsec-ipsec-cni-driver-4-7
aae923b"}, {"{#CONTAINERID}": "3020af9da18b", "{#CONTAINERNAME}": "r-network-services-metadata-4-8a0b1304"}, {"{#CONTAINERID}": "57126
d2c2505", "{#CONTAINERNAME}": "r-nfs-nfs-driver-4-2199775c"}, {"{#CONTAINERID}": "fc0febefad58", "{#CONTAINERNAME}": "r-healthcheck-he
althcheck-4-6966ee5b"}, {"{#CONTAINERID}": "33a4a061d3e7", "{#CONTAINERNAME}": "r-secrets-secrets-driver-4-14382cd8"}, {"{#CONTAINERID}"
: "4b4d536382fc", "{#CONTAINERNAME}": "r-network-services-network-manager-4-a475338a"}, {"{#CONTAINERID}": "32836076647b", "{#CONTAINERN
AME}": "rancher-agent"}, {"{#CONTAINERID}": "c64e5f6d2d16", "{#CONTAINERNAME}": "suspicious_montalcini"}, {"{#CONTAINERID}": "5989d5254c
94", "{#CONTAINERNAME}": "affectionate_jennings"}]}"
of type "string" is not suitable for value type "Numeric (unsigned)"
I am running zabbix Server 4.4.1 using pkg installation. For docker containers monitoring I'm using these git repo: https://github.com/dimuskin/ax-zabbix-docker.
These template and scripts are working fine if individual servers have docker containers. I have tested one server which more than 20+ docker containers.
But I have another two servers for docker swarm (master & worker). I have installed zabbix agent with pkg installation in both servers.
while using these git repo for docker containers monitoring. below errors are found:
Value "Invalid parameter for container id detected" of type "string" is not suitable for value type "Numeric (float)"
What could be reasons for this?
I am newbie to zabbix.
I followed the steps in your page.template are also added to discovery rules.
And I have just changed --> docker.containers[{#containername}, status] in item prototype and in triggers changed {host:docker.containers[{# containername}, status].max(#1)}<0
But i want to stop the container and test whether email alert is being triggered.
Please guide how to add email alerts and to get status of container in zabbix GUI ( like problem,OK)
I'm getting "Unsupported Item Key" when trying to use this with Windows active agents. For the active agent I noticed it defaulted to passive mode, so I set it to Active Agent. When I did this it started to attempt to run but it failed on what appears to be the docker.discovery part.
i have a fresh installation of zabiix server, using zabbix 3.2.11 version. copied all the script, followed all steps mentioned by you for Linux, not sure why even after configuring docker template cannot see any info of docker in Zabbix server. Also in logs it dosent display any information about the template being used or any other container info.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.