{"action":"created","issue":{"url":"https://api.github.com/repos/alexanderzobnin/grafana-zabbix/issues/199","repository_url":"https://api.github.com/repos/alexanderzobnin/grafana-zabbix","labels_url":"https://api.github.com/repos/alexanderzobnin/grafana-zabbix/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/alexanderzobnin/grafana-zabbix/issues/199/comments","events_url":"https://api.github.com/repos/alexanderzobnin/grafana-zabbix/issues/199/events","html_url":"https://github.com/alexanderzobnin/grafana-zabbix/issues/199","id":149102747,"number":199,"title":"IT Services - Status","user":{"login":"DuboisJeremy","id":18528399,"avatar_url":"https://avatars.githubusercontent.com/u/18528399?v=3","gravatar_id":"","url":"https://api.github.com/users/DuboisJeremy","html_url":"https://github.com/DuboisJeremy","followers_url":"https://api.github.com/users/DuboisJeremy/followers","following_url":"https://api.github.com/users/DuboisJeremy/following{/other_user}","gists_url":"https://api.github.com/users/DuboisJeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/DuboisJeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuboisJeremy/subscriptions","organizations_url":"https://api.github.com/users/DuboisJeremy/orgs","repos_url":"https://api.github.com/users/DuboisJeremy/repos","events_url":"https://api.github.com/users/DuboisJeremy/events{/privacy}","received_events_url":"https://api.github.com/users/DuboisJeremy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-18T09:53:14Z","updated_at":"2016-04-18T11:29:40Z","closed_at":null,"body":"Hi everyone,\r\n\r\nHere is my issue. I need to use Grafana-Zabbix to display IT Services. The goal is to get the \"Status\" (Ok, Warning, etc...) and display it in a Single Stat Panel.\r\n\r\nBut when I chose one IT Service and select status I get a number (0 for OK and 2 for Warning). First I don't know if the problem come from Zabbix or Grafana but it seems weird that I don't get the original text.\r\n\r\nEven if Zabbix send number, I tried to treat those data with the \"Value to text mapping\" saying that if this is \"2\" then I got \"Warning\" and if I get \"0\" then I got \"OK\". The problem is that the status is not an integer but a string... So I can't use the \"Value to text mapping\" or even the coloring option...\r\n\r\nI wanted to know if someone has the same issue, and a little request, is it possible to make a coloring for string/text (if text = \"OK\" then \"Backgroung\" is green.\r\n\r\nThanks for your help.\r\n\r\nRegards\r\n\r\nJeremy"},"comment":{"url":"https://api.github.com/repos/alexanderzobnin/grafana-zabbix/issues/comments/211339135","html_url":"https://github.com/alexanderzobnin/grafana-zabbix/issues/199#issuecomment-211339135","issue_url":"https://api.github.com/repos/alexanderzobnin/grafana-zabbix/issues/199","id":211339135,"user":{"login":"DuboisJeremy","id":18528399,"avatar_url":"https://avatars.githubusercontent.com/u/18528399?v=3","gravatar_id":"","url":"https://api.github.com/users/DuboisJeremy","html_url":"https://github.com/DuboisJeremy","followers_url":"https://api.github.com/users/DuboisJeremy/followers","following_url":"https://api.github.com/users/DuboisJeremy/following{/other_user}","gists_url":"https://api.github.com/users/DuboisJeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/DuboisJeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuboisJeremy/subscriptions","organizations_url":"https://api.github.com/users/DuboisJeremy/orgs","repos_url":"https://api.github.com/users/DuboisJeremy/repos","events_url":"https://api.github.com/users/DuboisJeremy/events{/privacy}","received_events_url":"https://api.github.com/users/DuboisJeremy/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T11:29:40Z","updated_at":"2016-04-18T11:29:40Z","body":"Indeed we are in 2.6. We migrated to 3.0 Beta but we rolled back due to Template issue (before your last update) and I didn't try SLA in this version.\r\n\r\nI'll try again when we will migrate again in 3.0.\r\n\r\nThanks for your answer."}}