I am looking to create a script that runs on my hosts upon shutdown that will disable the host in Zabbix. I would like to disable vs remove as I want to keep an audit trail of the data which is collected, but I am not seeing a disable command in the API (unless its buried under update). I am also curious to know how I can get the local zabbix identifier so I know what i am posting to the Zabbix API to disable the host.
Can someone steer me in the proper direction?

Can someone steer me in the proper direction?

Comment