Skip to content

Commit

Permalink
Return result only for the first item to Zabbix (which is what we would
Browse files Browse the repository at this point in the history
expect as we process a single item at a time)
  • Loading branch information
dnaeon committed Apr 2, 2014
1 parent 2ee4cff commit ef821c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vpoller/helpers/zabbix.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def zabbix_item_value(self):
"""
property_name = self.msg['properties'][0]

return self.data['result'][property_name]
return self.data['result'][0][property_name]

def zabbix_lld_data(self):
"""
Expand Down

0 comments on commit ef821c2

Please sign in to comment.