Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16208

zabbix_agent send 0 for proc.num[,,run,*] to server while locally it gives 1

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 4.0.7
    • Agent (G)
    • None
    • Ubuntu 16.04.4 LTS
      Zabbix agent 4.0.7 (revision 92831).
      zabbix_server (Zabbix) 4.2.1
    • Team A
    • Sprint 53 (Jun 2019)

      Steps to reproduce:

      1. I do have such a trigger {HOST:proc.num[,,run,ruby].last(#1)}<1
      2. 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]
        
      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]
        
      1. 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]

            viktors.tjarve Viktors Tjarve
            im Ilya
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: