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

templates/cctv/hikvision item hikvision_cam.memory.usage not returning a %

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.0.39, 7.0.10, 7.2.4, 7.4.0alpha1
    • Templates (T)

      Steps to reproduce:

      1. Use template from https://www.zabbix.com/integrations/hikvision
      2. Test the item hikvision_cam.memory.usage with the following data: 
        {"DeviceStatus":{"@version":"1.0","currentDeviceTime":"2024-07-10T20:26:29+08:00","deviceUpTime":"7045303","CPUList":{"CPU":{"cpuDescription":"3000.00","cpuUtilization":"6"}},"MemoryList":{"Memory":{"memoryDescription":"DDR Memory","memoryUsage":"\n343.164063","memoryAvailable":"\n1165.734375"}}}}

       

      Result:

      • Item gets no result.
      • Looking at the data this is due to a \n before the memoryUsage. This might be an issue on my hardware so I'll remove it manually and re run the test.
      • Then the item gets 343.164063 and not a % value as result.

      Expected:
      As per documentation we should have "Memory utilization in %".

       

      Hint:

      There is a weird "\n" in the device fetched. Putting this aside the item result is not aligned with the docs.

            abakaldin Alexander Bakaldin
            PC Pierre C
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: