zabbix-tools / g2z

Write Zabbix modules in Go!
Other
56 stars 9 forks source link

API error on V3 #8

Closed rockaut closed 6 years ago

rockaut commented 7 years ago

there was an zabbix module error regarding die API version on V3

cavaliercoder commented 7 years ago

Did you try go get gopkg.in/cavaliercoder/g2z.v3 ? This already has the v3 headers applied.

rockaut commented 7 years ago

Yes. Tried it with master and v3. Booth with errors on current Zabbix Server and Agent Containers.

Ryan Armstrong notifications@github.com schrieb am Sa., 11. März 2017, 11:08:

Did you try go get gopkg.in/cavaliercoder/g2z.v3 ? This already has the v3 headers applied.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cavaliercoder/g2z/pull/8#issuecomment-285857149, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbq-A3ccxqLbZJpx_ij1z-3NjxarKL4ks5rknKRgaJpZM4MZwql .

--

Live long and prosper 🖖

Markus

rockaut commented 7 years ago

Added strings.h and errors gone. Also API 2 is needed as documented in Zabbix Docs.

Markus Fischbacher fischbacher.markus@gmail.com schrieb am Sa., 11. März 2017, 12:00:

Yes. Tried it with master and v3. Booth with errors on current Zabbix Server and Agent Containers.

Ryan Armstrong notifications@github.com schrieb am Sa., 11. März 2017, 11:08:

Did you try go get gopkg.in/cavaliercoder/g2z.v3 ? This already has the v3 headers applied.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cavaliercoder/g2z/pull/8#issuecomment-285857149, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbq-A3ccxqLbZJpx_ij1z-3NjxarKL4ks5rknKRgaJpZM4MZwql .

--

Live long and prosper 🖖

Markus

--

Live long and prosper 🖖

Markus

rockaut commented 6 years ago

redone in new pull request