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

vmware.vm.snapshot.get returns incomplete JSON data

XMLWordPrintable

    • S24-W12/13
    • 0.2

      Steps to reproduce:

      1. Create an item with vmware.vm.snapshot.get[] key for a VM with no active snapshots

      Result:

      The returned JSON data is missing information for: oldestdate, oldestage }}and{{ latestage attributes.

      {{

      {"snapshot":[],"count":0,"latestdate":null,"size":0,"uniquesize":0}

      }}

      JSONPath preprocessing fails (see screenshot)
      **

      Expected:

      According to documentation, if no snapshot exists, the following JSON data should be returned:

      {{

      { "snapshot": [], "count": 0, "latestdate": null, "latestage": 0, "oldestdate": null, "oldestage": 0, "size": 0, "uniquesize": 0}

      }}

      See also ZBXNEXT-2043.

            MVekslers Michael Veksler
            bitmind Nicola Mauri
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: