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

    Details

    • Type: Documentation task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't fix
    • Affects Version/s: 4.0.7
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      Ubuntu 16.04.4 LTS
      Zabbix agent 4.0.7 (revision 92831).
      zabbix_server (Zabbix) 4.2.1
    • Team:
      Team A
    • Sprint:
      Sprint 53 (Jun 2019)

      Description

      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]

        Attachments

          Activity

            People

            • Assignee:
              viktors.tjarve Viktors Tjarve
              Reporter:
              im Ilya
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: