I have zabbix-agent2 running on a host, and I am using the Docker template on my server (6.4). In the web interface, Docker information is being collected just fine.

But if I try to collect that information from the CLI:
root@my-docker-host# zabbix_agent2 -t docker.containers.stopped
docker.containers.stopped [m|ZBX_NOTSUPPORTED] [Unknown metric docker.containers.stopped]
root@my-zabbix-server# zabbix_get -k docker.containers.stopped -s eco.3e.org
ZBX_NOTSUPPORTED: Unknown metric docker.containers.stopped
What am I doing wrong here?
But if I try to collect that information from the CLI:
root@my-docker-host# zabbix_agent2 -t docker.containers.stopped
docker.containers.stopped [m|ZBX_NOTSUPPORTED] [Unknown metric docker.containers.stopped]
root@my-zabbix-server# zabbix_get -k docker.containers.stopped -s eco.3e.org
ZBX_NOTSUPPORTED: Unknown metric docker.containers.stopped
What am I doing wrong here?
Comment