title: using zabbix API to create a grid view from python
body: <p><strong>Intro</strong></p>
  
  <p>I have a cluster to monitor using Zabbix 2.0, everything works fine and I have all the data I need on Zabbix, but the way zabbix displays the data is not optimal for our use case. At the same time I have a python app running with a web front end I can use to create a more refined way of displaying Zabbix's data. What I want to do is to turn Zabbix's latest data tab into a grid view with a host in every row and the items as columns (like a spreadsheet).</p>
  
  <p><strong>The problem</strong></p>
  
  <p>Apparently Zabbix's API is still a work in progress and the interface sometimes changes, which should not be a problem if some basic functionality is working. What I need to do is to be able to fetch the list of hosts not only IDs but the host's info as well. And for each host I need to be able to fetch some items, again not only the items ID but the entire data too. So far I've tried using two Python libraries to do it: zabbix_api and PyZabbix, no luck so far since both libraries fetch only IDs and not the data I need for hosts and items.</p>
  
  <p><strong>The question</strong></p>
  
  <p>Is there a library/way of doing this that actually works or is this API in a too early stage yet?</p>
  
  <p>Thanks in advance!</p>