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

cannot add host due to inability to call DBstart and DBend from API (via Jsonrpc interface)

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.9.7 (beta), 2.0.0
    • None
    • API (A)
    • coding api from jsonrpc interface in python

      when I create a host using the API it returns me a hostid as if all is fine but when I then add that host to a map it does not show, upon checking I find that the host does not exist even though the API call to API::Host->create($hosts) executed fine.

      Upon further investigation to see how the web page does this I find that they call DBstart(true) before the call to the api and DBend(true) after, so I wonder if there is any way for me to do the same as API calls.

            Unassigned Unassigned
            grizzlysmit Francis (Grizzly) Smit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: