{"action":"created","issue":{"url":"https://api.github.com/repos/jangaraj/Zabbix-Docker-Monitoring/issues/6","labels_url":"https://api.github.com/repos/jangaraj/Zabbix-Docker-Monitoring/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jangaraj/Zabbix-Docker-Monitoring/issues/6/comments","events_url":"https://api.github.com/repos/jangaraj/Zabbix-Docker-Monitoring/issues/6/events","html_url":"https://github.com/jangaraj/Zabbix-Docker-Monitoring/issues/6","id":58214299,"number":6,"title":"Add docker container name to docker.discovery ","user":{"login":"netflash","id":2478391,"avatar_url":"https://avatars.githubusercontent.com/u/2478391?v=3","gravatar_id":"","url":"https://api.github.com/users/netflash","html_url":"https://github.com/netflash","followers_url":"https://api.github.com/users/netflash/followers","following_url":"https://api.github.com/users/netflash/following{/other_user}","gists_url":"https://api.github.com/users/netflash/gists{/gist_id}","starred_url":"https://api.github.com/users/netflash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netflash/subscriptions","organizations_url":"https://api.github.com/users/netflash/orgs","repos_url":"https://api.github.com/users/netflash/repos","events_url":"https://api.github.com/users/netflash/events{/privacy}","received_events_url":"https://api.github.com/users/netflash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jangaraj","id":1182932,"avatar_url":"https://avatars.githubusercontent.com/u/1182932?v=3","gravatar_id":"","url":"https://api.github.com/users/jangaraj","html_url":"https://github.com/jangaraj","followers_url":"https://api.github.com/users/jangaraj/followers","following_url":"https://api.github.com/users/jangaraj/following{/other_user}","gists_url":"https://api.github.com/users/jangaraj/gists{/gist_id}","starred_url":"https://api.github.com/users/jangaraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangaraj/subscriptions","organizations_url":"https://api.github.com/users/jangaraj/orgs","repos_url":"https://api.github.com/users/jangaraj/repos","events_url":"https://api.github.com/users/jangaraj/events{/privacy}","received_events_url":"https://api.github.com/users/jangaraj/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-02-19T14:25:16Z","updated_at":"2015-03-12T11:56:56Z","closed_at":null,"body":"Hi, is it possible to add \r\ndocker container \"name\" (in this example name is \"docker_nginx\" ) to discovery keys?\r\nso it could be more human readable in items/triggers.\r\n```\r\ndocker ps\r\nCONTAINER ID        IMAGE                     COMMAND                CREATED             STATUS              PORTS                                                 NAMES\r\nb22f3f28a36e        dockerfile/nginx:latest   \"nginx\"                5 hours ago         Up 5 hours          443/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:8001->8001/tcp   docker_nginx\r\n```"},"comment":{"url":"https://api.github.com/repos/jangaraj/Zabbix-Docker-Monitoring/issues/comments/78466640","html_url":"https://github.com/jangaraj/Zabbix-Docker-Monitoring/issues/6#issuecomment-78466640","issue_url":"https://api.github.com/repos/jangaraj/Zabbix-Docker-Monitoring/issues/6","id":78466640,"user":{"login":"netflash","id":2478391,"avatar_url":"https://avatars.githubusercontent.com/u/2478391?v=3","gravatar_id":"","url":"https://api.github.com/users/netflash","html_url":"https://github.com/netflash","followers_url":"https://api.github.com/users/netflash/followers","following_url":"https://api.github.com/users/netflash/following{/other_user}","gists_url":"https://api.github.com/users/netflash/gists{/gist_id}","starred_url":"https://api.github.com/users/netflash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netflash/subscriptions","organizations_url":"https://api.github.com/users/netflash/orgs","repos_url":"https://api.github.com/users/netflash/repos","events_url":"https://api.github.com/users/netflash/events{/privacy}","received_events_url":"https://api.github.com/users/netflash/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T11:56:56Z","updated_at":"2015-03-12T11:56:56Z","body":"Also it looks like function \"zbx_docker_perm\" is not working.\r\nSo discovery through socket only working when zabbix-agent run as root with AllowRoot=1.\r\n\r\nAs I get - because of my zabbix user is member of 3 groups - I sent another PR to fix typo.\r\nAnd also my zabbix-agent is running from different username - I changed in to that username and it works for me, but how to make that more common - I don't know :-(\r\n\r\n"}}