Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-12135

Removing reference to a proxy for a host via API is not clear in the docs

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.0 (plan)
    • 3.2.5
    • Documentation (D)
    • None
    • Sprint 20
    • 0.25

      Hi

      I was trying to remove references to a proxy for a host monitored in zabbix via the API, the documentation wasn't clear on how to do this:

      https://www.zabbix.com/documentation/3.2/manual/api/reference/host/object#host

      Volter on IRC very kindly advised to try proxy_hostid: 0 as show below:

      curl -i -X POST -H 'Content-Type: application/json-rpc' -d '{"jsonrpc": "2.0","method": "host.update","params": {"hostid": "11111","proxy_hostid": "0"},"auth": "<REDACTED>","id": 1}' https://127.0.0.1/zabbix/api_jsonrpc.php -k
      

      I was wondering if this could be updated in the documentation to help others who might wish to do that same.

      Is there anything I can do to assist here, is there a way I can edit the docs to include this and contribute to help you guys out?

      Thank you

      Rob

            martins-v Martins Valkovskis
            rpr Rob Pickerill
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: