go-zabbix icon indicating copy to clipboard operation
go-zabbix copied to clipboard

Disabling Host in Zabbix

Open rajuyce opened this issue 4 years ago • 1 comments

Hi,

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

rajuyce avatar May 14 '20 17:05 rajuyce

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 ...

moudsen avatar Nov 08 '21 22:11 moudsen