{"action":"closed","issue":{"url":"https://api.github.com/repos/diarworld/zabbix-flume-template/issues/2","repository_url":"https://api.github.com/repos/diarworld/zabbix-flume-template","labels_url":"https://api.github.com/repos/diarworld/zabbix-flume-template/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/diarworld/zabbix-flume-template/issues/2/comments","events_url":"https://api.github.com/repos/diarworld/zabbix-flume-template/issues/2/events","html_url":"https://github.com/diarworld/zabbix-flume-template/issues/2","id":353720348,"node_id":"MDU6SXNzdWUzNTM3MjAzNDg=","number":2,"title":"python script error","user":{"login":"20100507","id":26719001,"node_id":"MDQ6VXNlcjI2NzE5MDAx","avatar_url":"https://avatars1.githubusercontent.com/u/26719001?v=4","gravatar_id":"","url":"https://api.github.com/users/20100507","html_url":"https://github.com/20100507","followers_url":"https://api.github.com/users/20100507/followers","following_url":"https://api.github.com/users/20100507/following{/other_user}","gists_url":"https://api.github.com/users/20100507/gists{/gist_id}","starred_url":"https://api.github.com/users/20100507/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/20100507/subscriptions","organizations_url":"https://api.github.com/users/20100507/orgs","repos_url":"https://api.github.com/users/20100507/repos","events_url":"https://api.github.com/users/20100507/events{/privacy}","received_events_url":"https://api.github.com/users/20100507/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T09:58:16Z","updated_at":"2018-09-04T04:51:02Z","closed_at":"2018-09-04T04:51:02Z","author_association":"NONE","body":"[hadoop@zabbix]$ zabbix_get -s 10.10.21.10 -k flume.sinks.discovery[5448]\r\nTraceback (most recent call last):\r\n  File \"/etc/zabbix/script/check_flume_metrics.py\", line 112, in <module>\r\n    zf.discovery(args.discover)\r\n  File \"/etc/zabbix/script/check_flume_metrics.py\", line 59, in discovery\r\n    if cache[k]['Type'] == flows.upper():\r\nTypeError: string indices must be integers\r\n"}}
{"actor":{"display_login":"20100507"}}