zabbix-tools / go-zabbix

Go bindings for the Zabbix API
GNU General Public License v2.0
108 stars 70 forks source link

Sending and Item value sample #15

Open totemcaf opened 6 years ago

totemcaf commented 6 years ago

HI,

Can you provide me or guide me to a sample of sending a value to Zabbix using this library.

cavaliercoder commented 6 years ago

I suspect you mean sending a sample using the 'Zabbix Sender' protocol? If so, that is outside the scope of this package. This package provides access to the Zabbix API, exposed by the frontend web server. The 'Sender' protocol is instead a binary/json protocol that is sent directly to the Zabbix server.

You might be looking for something like this: https://github.com/adubkov/go-zabbix