{"action":"created","issue":{"url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld/issues/2","repository_url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld","labels_url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld/issues/2/comments","events_url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld/issues/2/events","html_url":"https://github.com/YSmetana/raid_arcconf_zabbix_lld/issues/2","id":205167166,"number":2,"title":"SMART","user":{"login":"idokaplan","id":20675126,"avatar_url":"https://avatars.githubusercontent.com/u/20675126?v=3","gravatar_id":"","url":"https://api.github.com/users/idokaplan","html_url":"https://github.com/idokaplan","followers_url":"https://api.github.com/users/idokaplan/followers","following_url":"https://api.github.com/users/idokaplan/following{/other_user}","gists_url":"https://api.github.com/users/idokaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/idokaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idokaplan/subscriptions","organizations_url":"https://api.github.com/users/idokaplan/orgs","repos_url":"https://api.github.com/users/idokaplan/repos","events_url":"https://api.github.com/users/idokaplan/events{/privacy}","received_events_url":"https://api.github.com/users/idokaplan/received_events","type":"User","site_admin":false},"labels":[{"id":512209741,"url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"YSmetana","id":2463895,"avatar_url":"https://avatars.githubusercontent.com/u/2463895?v=3","gravatar_id":"","url":"https://api.github.com/users/YSmetana","html_url":"https://github.com/YSmetana","followers_url":"https://api.github.com/users/YSmetana/followers","following_url":"https://api.github.com/users/YSmetana/following{/other_user}","gists_url":"https://api.github.com/users/YSmetana/gists{/gist_id}","starred_url":"https://api.github.com/users/YSmetana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YSmetana/subscriptions","organizations_url":"https://api.github.com/users/YSmetana/orgs","repos_url":"https://api.github.com/users/YSmetana/repos","events_url":"https://api.github.com/users/YSmetana/events{/privacy}","received_events_url":"https://api.github.com/users/YSmetana/received_events","type":"User","site_admin":false},"assignees":[{"login":"YSmetana","id":2463895,"avatar_url":"https://avatars.githubusercontent.com/u/2463895?v=3","gravatar_id":"","url":"https://api.github.com/users/YSmetana","html_url":"https://github.com/YSmetana","followers_url":"https://api.github.com/users/YSmetana/followers","following_url":"https://api.github.com/users/YSmetana/following{/other_user}","gists_url":"https://api.github.com/users/YSmetana/gists{/gist_id}","starred_url":"https://api.github.com/users/YSmetana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YSmetana/subscriptions","organizations_url":"https://api.github.com/users/YSmetana/orgs","repos_url":"https://api.github.com/users/YSmetana/repos","events_url":"https://api.github.com/users/YSmetana/events{/privacy}","received_events_url":"https://api.github.com/users/YSmetana/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2017-02-03T14:10:08Z","updated_at":"2017-02-20T14:32:30Z","closed_at":null,"body":"Hi,\r\n\r\nVery nice template!\r\nIs there any chance to add support to get output of the disks errors?\r\ngetlogs 1 device tabular\r\n\r\nThanks!\r\nIdo\r\n"},"comment":{"url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld/issues/comments/281094040","html_url":"https://github.com/YSmetana/raid_arcconf_zabbix_lld/issues/2#issuecomment-281094040","issue_url":"https://api.github.com/repos/YSmetana/raid_arcconf_zabbix_lld/issues/2","id":281094040,"user":{"login":"idokaplan","id":20675126,"avatar_url":"https://avatars.githubusercontent.com/u/20675126?v=3","gravatar_id":"","url":"https://api.github.com/users/idokaplan","html_url":"https://github.com/idokaplan","followers_url":"https://api.github.com/users/idokaplan/followers","following_url":"https://api.github.com/users/idokaplan/following{/other_user}","gists_url":"https://api.github.com/users/idokaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/idokaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idokaplan/subscriptions","organizations_url":"https://api.github.com/users/idokaplan/orgs","repos_url":"https://api.github.com/users/idokaplan/repos","events_url":"https://api.github.com/users/idokaplan/events{/privacy}","received_events_url":"https://api.github.com/users/idokaplan/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T14:32:30Z","updated_at":"2017-02-20T14:32:30Z","body":"Yes, I should clear manually the log after I have replaced the defective disk (not after problem reporting), so it not suppose to have 2 entries for the same device.\r\n\r\nIf we want to proceed with the same concept that you did, we can do this for example:\r\nraid_arcconf_zabbix_lld.py smart -1 lld\r\n{\"data\": [{\"{#OBJ_TYPE}\": \"smart\", \"{#OBJ_ID}\": 1}, {\"{#OBJ_TYPE}\": \"smart\",\"{#OBJ_ID}\":4},{\"{#OBJ_TYPE}\": \"smart\", \"{#OBJ_ID}\": 14}, {\"{#OBJ_TYPE}\": \"smart\", \"{#OBJ_ID}\": 0}]}\r\n#OBJ_ID - is the device id\r\n\r\nraid.arcconf[smart,{#OBJ_ID},mediumErrors]\r\n\r\nWhat do you think?\r\n"}}
{"actor":{"display_login":"idokaplan"}}