i can't see whole trigger text, is it possible to strech it ?
Ad Widget
Collapse
Zabbix-strech trigger name
Collapse
X
-
Hi, dragan979!
Please look for for 'items.inc.php' file on your system:
Open and search for portion:Code:find / -name items.inc.php
Replace 20 with something bigger and restart your web engineCode:// apply value mapping switch ($item['value_type']) { case ITEM_VALUE_TYPE_STR: $mapping = getMappedValue($value, $item['valuemapid']); // break; is not missing here case ITEM_VALUE_TYPE_TEXT: case ITEM_VALUE_TYPE_LOG: if ($trim && mb_strlen($value) > 20) { $value = mb_substr($value, 0, 20).'...'; } if ($mapping !== false) { $value = $mapping.' ('.$value.')'; } break; default: $value = applyValueMap($value, $item['valuemapid']); }
Be aware that after updating zabbix-web-* package these modifications needs to be redone again.Comment
Comment