zabbix-tools/go-zabbix

Disabling Host in Zabbix

rajuyce opened this issue · 1 comments

Hi,

Could you please provide example code for disabling Zabbix monitoring for a particular host by passing hostname...

The current library is "read only" mode (get.) only.
I'm currently working on the implementation of .CREATE but also will have .UPDATE ready shortly after that. The latter will allow you to update objects (and will provide example how to disable monitoring for a specific host.
Basically the only update you would need to make is to put ENABLED to FALSE for that particular host.
To be continued ...