-
Problem report
-
Resolution: Fixed
-
Minor
-
5.0.3
-
None
-
New zabbix installation on CentOS7 with zabbix-server-pgsql, zabbix-web-pgsql-scl and zabbix-apache-conf-scl packages
-
Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021)
-
0.25
In trigger function strlen() the strlen(#num) does not work according to manual https://www.zabbix.com/documentation/current/manual/appendix/triggers/functions but seems to be ignored instead.
To reproduce:
- create empty file /var/tmp/tstfile on zabbix server
- create new Item on Zabbix Server 'test' with
-
- Type Zabbix Agent
- Key vfs.file.contents[/var/tmp/tstfile]
- Type of information Text
- create Trigger 'strln-test-trigger'
- Expression:
{Zabbix server:vfs.file.contents[/var/tmp/tstfile].strlen(#4)}>0
- Expression:
Observation: when adding some text to /var/tmp/tstfile, the trigger is active immediately after the next check, instead of the 4th check.
- caused by
-
ZBXNEXT-702 Compare last "text" value with any other string
- Closed
- duplicates
-
ZBX-18675 The behavior of the strlen(#num) function does not match the documentation
- Closed