A Ubuntu Trusty server is monitored, it has a /etc/issue file containing the line "Ubuntu 14.04.2 LTS \n \l" followed by a blank line.
In Zabbix, an item of type "Zabbix agent" has been added to the "Linux" Template as follow :
vfs.file.regexp[/etc/issue,"^(.*[0-9])(.*)$",,1,1,\1]
It is supposed to return "Ubuntu 14.04.2".
The correct value is returned for agents running on Debian Squeeze/Wheezy/Jessie, Red Hat Enterprise Linux 5/6, Oracle Linux 6, CentOS 6, Ubuntu Precise.
However, for Ubuntu Trusty there's an error "Start line parameter must not exceed end line".