Type: Change Request
Affects Version/s: 2.0.0
Fix Version/s: None
Component/s: Frontend (F)
Environment:# zabbix_server -V
Zabbix server v2.0.0rc3 (revision 26482) (22 March 2012)
# mysqld -V
mysqld Ver 5.1.41-3ubuntu12.10 for debian-linux-gnu on x86_64 ((Ubuntu))
Related to: https://support.zabbix.com/browse/ZBX-4302
Currently it is not possible to add a trigger with an expression which has more than 255 characters.
In my case, my trigger expression is fine within the template (trigger is defined in a Template), it is less 255 characters long.
But assigning that Template to a Host fails, as the Hostname is longer than the Template Name. Therefore the Trigger expression will be longer than 255 characters.
The Frontend error looks like:
ERROR: Cannot update host
"].str("Disconnected")}=1)'" is too long for field "expression" - 275 characters. Allowed length is 255 characters.