{"action":"created","issue":{"url":"https://api.github.com/repos/hobbsh/icinga-autod/issues/1","labels_url":"https://api.github.com/repos/hobbsh/icinga-autod/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hobbsh/icinga-autod/issues/1/comments","events_url":"https://api.github.com/repos/hobbsh/icinga-autod/issues/1/events","html_url":"https://github.com/hobbsh/icinga-autod/issues/1","id":104564769,"number":1,"title":"KeyError","user":{"login":"evanderv","id":3150283,"avatar_url":"https://avatars.githubusercontent.com/u/3150283?v=3","gravatar_id":"","url":"https://api.github.com/users/evanderv","html_url":"https://github.com/evanderv","followers_url":"https://api.github.com/users/evanderv/followers","following_url":"https://api.github.com/users/evanderv/following{/other_user}","gists_url":"https://api.github.com/users/evanderv/gists{/gist_id}","starred_url":"https://api.github.com/users/evanderv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanderv/subscriptions","organizations_url":"https://api.github.com/users/evanderv/orgs","repos_url":"https://api.github.com/users/evanderv/repos","events_url":"https://api.github.com/users/evanderv/events{/privacy}","received_events_url":"https://api.github.com/users/evanderv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hobbsh/icinga-autod/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-09-02T20:28:34Z","updated_at":"2015-09-03T01:07:39Z","closed_at":null,"body":"When I try running it looking at an individual ip or a whole subnet I get this....\r\n\r\nTraceback (most recent call last):\r\n  File \"./icinga-autod.py\", line 335, in <module>\r\n    main()\r\n  File \"./icinga-autod.py\", line 127, in main\r\n    v_match = vendor_match(numbers, sysobject)\r\n  File \"./icinga-autod.py\", line 156, in vendor_match\r\n    vendor_string = numbers[vendor_num]\r\nKeyError: '\\r'\r\nAny ideas?  \r\n\r\nSaw this on reddit.  I hope it work would be nice.  Just trying out icinga2 today."},"comment":{"url":"https://api.github.com/repos/hobbsh/icinga-autod/issues/comments/137291576","html_url":"https://github.com/hobbsh/icinga-autod/issues/1#issuecomment-137291576","issue_url":"https://api.github.com/repos/hobbsh/icinga-autod/issues/1","id":137291576,"user":{"login":"evanderv","id":3150283,"avatar_url":"https://avatars.githubusercontent.com/u/3150283?v=3","gravatar_id":"","url":"https://api.github.com/users/evanderv","html_url":"https://github.com/evanderv","followers_url":"https://api.github.com/users/evanderv/followers","following_url":"https://api.github.com/users/evanderv/following{/other_user}","gists_url":"https://api.github.com/users/evanderv/gists{/gist_id}","starred_url":"https://api.github.com/users/evanderv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanderv/subscriptions","organizations_url":"https://api.github.com/users/evanderv/orgs","repos_url":"https://api.github.com/users/evanderv/repos","events_url":"https://api.github.com/users/evanderv/events{/privacy}","received_events_url":"https://api.github.com/users/evanderv/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T01:07:39Z","updated_at":"2015-09-03T01:07:39Z","body":"Ubuntu 14.04\r\n"}}