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

Can't create host with inventory through API

    XMLWordPrintable

Details

    Description

      When calling host.create through api_jsonrpc.php with inventory object, inserting fails.

      After investigation, error is the same as ZBX-7561 : Field 'hardware_full' doesn't have a default value .

      The source would be calling DBExecute directly from CHost::insert.

      Not tested, but it seems that the example from the documentation ( https://www.zabbix.com/documentation/2.4/manual/api/reference/host/create ) wouldn't work.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thomasm Thomas MEVEL
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: