-
Type:
Incident report
-
Resolution: Commercial support required
-
Priority:
Trivial
-
None
-
Affects Version/s: 4.4.7
-
Component/s: None
-
Environment:Ubuntu 18.04
Hello everyone,
Please find below the issue encountered.
I am using the system run key to get a docker image version.
The command i have works fine but for a specific reason, i am created a calculated item, unfortunately it does not work, i believe because it needs to be in text type and not in numeric mode.
Steps to reproduce:
- Create a zabbix-agent item using the system run key below :
(system.run[sudo docker ps | grep "name of the container" | cut -d':' -f 2 | cut -c1-9]), output works great - Create a calculated item and get the last information above with the following formula :
last(system.run[sudo docker ps | grep "navineo-pc-integ" | cut -d':' -f 2 | cut -c1-9])
Result:
See screenshot for more information