Ad Widget

Collapse

Zabbix API assign host to a proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kerem.yarali
    Junior Member
    • Sep 2019
    • 23

    #1

    Zabbix API assign host to a proxy

    Hello

    We can add a host host.create API but we can not assign proxy to host.

    Is there any way to assign proxy to host via API?

    Thanks
  • ISiroshtan
    Senior Member
    • Nov 2019
    • 324

    #2
    Hi Mate,

    If you reference API documentation for host object you will find that it has proxy_hostid property which contains string with proxyID that should monitor the host. This property can be passed as part of host.create call or host.update call can be used after creation to alter said field.

    Hope it helps.

    Comment

    • kerem.yarali
      Junior Member
      • Sep 2019
      • 23

      #3
      Thanks for your comments, My issue has resolved.

      Comment

      Working...