dimuskin / ax-zabbix-docker

Zabbix Windows Docker Monitoring
37 stars 24 forks source link

Value "Invalid parameter for container id detected" of type "string" is not suitable for value type "Numeric (float)" #7

Open iftitutul opened 4 years ago

iftitutul commented 4 years ago

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?

sncodeGit commented 3 years ago

For me, this error is related to the presence of a dot in the container name. I was able to fix this by replacing CONTAINERNAME with CONTAINERID in \<item> in UI template. Like in my fork