{"action":"created","issue":{"url":"https://api.github.com/repos/v-zhuravlev/zbx-smartctl/issues/66","repository_url":"https://api.github.com/repos/v-zhuravlev/zbx-smartctl","labels_url":"https://api.github.com/repos/v-zhuravlev/zbx-smartctl/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/v-zhuravlev/zbx-smartctl/issues/66/comments","events_url":"https://api.github.com/repos/v-zhuravlev/zbx-smartctl/issues/66/events","html_url":"https://github.com/v-zhuravlev/zbx-smartctl/issues/66","id":350254797,"node_id":"MDU6SXNzdWUzNTAyNTQ3OTc=","number":66,"title":"Value is not numeric with Zabbix 3.2 server, agent and 3.0 template","user":{"login":"jtl999","id":1234670,"node_id":"MDQ6VXNlcjEyMzQ2NzA=","avatar_url":"https://avatars3.githubusercontent.com/u/1234670?v=4","gravatar_id":"","url":"https://api.github.com/users/jtl999","html_url":"https://github.com/jtl999","followers_url":"https://api.github.com/users/jtl999/followers","following_url":"https://api.github.com/users/jtl999/following{/other_user}","gists_url":"https://api.github.com/users/jtl999/gists{/gist_id}","starred_url":"https://api.github.com/users/jtl999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtl999/subscriptions","organizations_url":"https://api.github.com/users/jtl999/orgs","repos_url":"https://api.github.com/users/jtl999/repos","events_url":"https://api.github.com/users/jtl999/events{/privacy}","received_events_url":"https://api.github.com/users/jtl999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-08-14T02:04:31Z","updated_at":"2018-09-03T22:13:11Z","closed_at":null,"author_association":"NONE","body":"So I'm running Debian 9.x on my server/NAS. Zabbix server and agent are 3.2. I'm trying to get zbx-smartctl setup to log SMART data from my disks and fire alerts when needed. One problem I'm having is after I add the template to my server in Zabbix and adjust the interval I get this error in the Zabbix discovery item.\r\n\r\n```\r\nCannot create item: macro \"{#DISKCMD}\" value is not numeric.\r\nCannot create item: macro \"{#DISKCMD}\" value is not numeric.\r\nCannot create item: macro \"{#DISKCMD}\" value is not numeric.\r\nCannot create item: macro \"{#DISKCMD}\" value is not numeric.\r\nCannot create item: macro \"{#DISKCMD}\" value is not numeric.\r\n```\r\n\r\nI added the proper sudoers entry in a file `/etc/sudoers.d/sudoers_zabbix_smartctl` and tested running `sudo /etc/zabbix/scripts/smartctl-disks-discovery.pl` as the zabbix user and it works.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/v-zhuravlev/zbx-smartctl/issues/comments/418199038","html_url":"https://github.com/v-zhuravlev/zbx-smartctl/issues/66#issuecomment-418199038","issue_url":"https://api.github.com/repos/v-zhuravlev/zbx-smartctl/issues/66","id":418199038,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODE5OTAzOA==","user":{"login":"v-zhuravlev","id":14870891,"node_id":"MDQ6VXNlcjE0ODcwODkx","avatar_url":"https://avatars3.githubusercontent.com/u/14870891?v=4","gravatar_id":"","url":"https://api.github.com/users/v-zhuravlev","html_url":"https://github.com/v-zhuravlev","followers_url":"https://api.github.com/users/v-zhuravlev/followers","following_url":"https://api.github.com/users/v-zhuravlev/following{/other_user}","gists_url":"https://api.github.com/users/v-zhuravlev/gists{/gist_id}","starred_url":"https://api.github.com/users/v-zhuravlev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-zhuravlev/subscriptions","organizations_url":"https://api.github.com/users/v-zhuravlev/orgs","repos_url":"https://api.github.com/users/v-zhuravlev/repos","events_url":"https://api.github.com/users/v-zhuravlev/events{/privacy}","received_events_url":"https://api.github.com/users/v-zhuravlev/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T22:13:11Z","updated_at":"2018-09-03T22:13:11Z","author_association":"OWNER","body":"Please smartctl output and also run discovery script manually and attach its output please."}}
{"actor":{"display_login":"v-zhuravlev"}}