I am using Zabbix 4.0.3 and would like to show the OS version in the map label. I used the following macro:
{{HOST.HOST}:system.uname.last(0)}
This gives me a line like this:
Linux test.example.com 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l Is there a way to extract the version (i.e. 4.14.79+) to just display that? I've looked at the regsub macro function, but can't get it working in the label.
Is there another way to do this?
{{HOST.HOST}:system.uname.last(0)}
This gives me a line like this:
Linux test.example.com 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l Is there a way to extract the version (i.e. 4.14.79+) to just display that? I've looked at the regsub macro function, but can't get it working in the label.
Is there another way to do this?