{"action":"created","issue":{"url":"https://api.github.com/repos/sensu/sensu-community-plugins/issues/686","labels_url":"https://api.github.com/repos/sensu/sensu-community-plugins/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/sensu/sensu-community-plugins/issues/686/comments","events_url":"https://api.github.com/repos/sensu/sensu-community-plugins/issues/686/events","html_url":"https://github.com/sensu/sensu-community-plugins/issues/686","id":38698686,"number":686,"title":"check-docker-container.rb","user":{"login":"jmreicha","id":1039098,"avatar_url":"https://avatars.githubusercontent.com/u/1039098?v=3","gravatar_id":"","url":"https://api.github.com/users/jmreicha","html_url":"https://github.com/jmreicha","followers_url":"https://api.github.com/users/jmreicha/followers","following_url":"https://api.github.com/users/jmreicha/following{/other_user}","gists_url":"https://api.github.com/users/jmreicha/gists{/gist_id}","starred_url":"https://api.github.com/users/jmreicha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmreicha/subscriptions","organizations_url":"https://api.github.com/users/jmreicha/orgs","repos_url":"https://api.github.com/users/jmreicha/repos","events_url":"https://api.github.com/users/jmreicha/events{/privacy}","received_events_url":"https://api.github.com/users/jmreicha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sensu/sensu-community-plugins/labels/discussion","name":"discussion","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-07-25T05:37:39Z","updated_at":"2015-04-10T09:00:33Z","closed_at":"2014-11-15T12:17:07Z","body":"This check seems to be broken.  I receive the following error when attempting to run the check:\r\n\r\n    Check failed to run: undefined method `url=' for Docker:Module, ./check-docker-container.rb:55:in `run'/var/lib/gems/1.8/gems/sensu-plugin-0.3.0/lib/sensu-plugin/cli.rb:56./check-docker-container.rb:54\r\n\r\nIs there something I am missing?"},"comment":{"url":"https://api.github.com/repos/sensu/sensu-community-plugins/issues/comments/91484009","html_url":"https://github.com/sensu/sensu-community-plugins/issues/686#issuecomment-91484009","issue_url":"https://api.github.com/repos/sensu/sensu-community-plugins/issues/686","id":91484009,"user":{"login":"lordz-md","id":10350006,"avatar_url":"https://avatars.githubusercontent.com/u/10350006?v=3","gravatar_id":"","url":"https://api.github.com/users/lordz-md","html_url":"https://github.com/lordz-md","followers_url":"https://api.github.com/users/lordz-md/followers","following_url":"https://api.github.com/users/lordz-md/following{/other_user}","gists_url":"https://api.github.com/users/lordz-md/gists{/gist_id}","starred_url":"https://api.github.com/users/lordz-md/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordz-md/subscriptions","organizations_url":"https://api.github.com/users/lordz-md/orgs","repos_url":"https://api.github.com/users/lordz-md/repos","events_url":"https://api.github.com/users/lordz-md/events{/privacy}","received_events_url":"https://api.github.com/users/lordz-md/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T09:00:33Z","updated_at":"2015-04-10T09:00:33Z","body":"Hello,\r\n\r\nI just find out that then I run check-docker-container.rb it gives me an error.\r\n\r\n[root@ip-172-168-2-212 docker]# ruby2.0 check-docker-container.rb -w 1 -c 1\r\nCheck failed to run: undefined method `url=' for Docker:Module, [\"check-docker-container.rb:68:in `run'\", \"/usr/local/share/ruby/gems/2.0/gems/sensu-plugin-1.1.0/lib/sensu-plugin/cli.rb:56:in `block in <class:CLI>'\"]\r\n\r\nI have both docker and docker-api gems installed. My system is an Amazon Linux AMI verison 2014.09.1.x86_64. \r\n\r\nRegards, Traian."}}