-
Problem report
-
Resolution: Unresolved
-
Major
-
None
-
6.0.39, 7.0.10, 7.2.4, 7.4.0alpha1
Steps to reproduce:
- Use template from https://www.zabbix.com/integrations/hikvision
- 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.