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

Add missing selectInventory value

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.0.23, 6.4.7, 7.0.0alpha7
    • Documentation (D)
    • None

      What happened:

      I was trying to use Zabbix API selectInventory, I wanted to get all the fields but docs specifically said that "I can only specify desired fields by passing an array"

      However, I remembered this was an option in previous Zabbix versions, so I've found out that in Zabbix 2.0 there is this wording "Possible values are true to return all of the data, or an array of property names to return only specific properties." that is correct.

      This works on 6.4 (latest).{}

       

      Steps to reproduce:

      1. Go to: https://www.zabbix.com/documentation/current/en/manual/api/reference/host/get
      2. See that under selectInventory the diciture is missing
      3. Go to: https://www.zabbix.com/documentation/2.0/en/manual/appendix/api/host/get
      4. See that here is present

      Since it is missing, but it's really important and useful, I'd like that sentence in latest docs too.

      Thanks in advance!

            zabbix.dev Zabbix Development Team
            dag7 Damiano Gualandri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: