zbxsend icon indicating copy to clipboard operation
zbxsend copied to clipboard

Python module for sending metrics to Zabbix

Results 7 zbxsend issues
Sort by recently updated
recently updated
newest added

The zabbix.connect() socket call does not currently use the timeout as set in the send_to_zabbix function. This patch moves the zabbix.settimeout() before that to fix this.

There is a bug in how the `clock` element of JSON is formed: ``` python for m in metrics: clock = m.clock or time.time() metrics_data.append(('\t\t{\n' '\t\t\t"host":%s,\n' '\t\t\t"key":%s,\n' '\t\t\t"value":%s,\n' '\t\t\t"clock":%s}') %...

Adaptations to Python3 without impact Python2.

Hey, The function for sending data only evaluates if the response from the Zabbix server was valid or not: `if resp.get('response') != 'success':` There are cases where the response is...