-
Documentation task
-
Resolution: Won't fix
-
Major
-
None
-
4.0.7
-
None
-
Ubuntu 16.04.4 LTS
Zabbix agent 4.0.7 (revision 92831).
zabbix_server (Zabbix) 4.2.1
-
Sprint 53 (Jun 2019)
Steps to reproduce:
- I do have such a trigger {HOST:proc.num[,,run,ruby].last(#1)}<1
- when running locally it gives me expected result
XXX$ zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf -t proc.num[,,run,ruby] proc.num[,,run,ruby] [u|1]
- But both in logs and from server it gives me 0
zabbix-server:~$ zabbix_get -s HOST -k"proc.num[,,run,ruby]" 0
32502:20190603:232704.927 Requested [proc.num[,,run,ruby]] 32502:20190603:232704.929 Sending back [0]
- If I run it under zabbix user I do receive normal result
zabbix@XXX:$ zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf -t proc.num[,,run,ruby] proc.num[,,run,ruby] [u|1]
Expected:
I receive 1 in all cases.
Also:
The same result with proc.num[,,run,nginx]