-
Incident report
-
Resolution: Fixed
-
Major
-
1.6.8, 1.8, 1.8.1, 1.9.0 (alpha)
-
None
-
None
-
Zabbix Server version 1.6.8: Linux
When I use following expression, it doesn't work.
{HOSTNAME:log[c:\out.log].count(600,ERROR)}>0
Because Zabbix executes like following SQL when the item value type is ITEM_VALUE_TYPE_LOG, ITEM_VALUE_TYPE_STR or ITEM_VALUE_TYPE_TEXT.
"select count(value) from history_log where itemid=23060 and clock>1266479747 and value like 'ERROR'"
The 'ERROR' should be '%ERROR%'.
I checked this bug in version 1.6.8, but as far as I read the trunk(r10230) and latest 1.8 branch, it still exists.