Ad Widget

Collapse

Wrong number of processes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karlism
    Junior Member
    • Sep 2015
    • 10

    #1

    Wrong number of processes

    Hello!

    I'm experiencing issue with Zabbix reporting wrong number of processes running on host.

    Here's an example:
    Centos 6.7 running system:
    $ ps aux | wc -l
    112
    $ ps -em | wc -l
    232
    $ zabbix_agent -t proc.num[]
    proc.num[] [u|111]

    Running zabbix_get from the Zabbix server also shows correct number of processes:
    zbxsrv$ zabbix_get -s IP.AD.DR.ESS -k proc.num[]
    110

    Yet Zabbix server's web interface reports and issues warnings that there are around 460 processes running on this system. I'm using default "Template OS Linux" to monitor this host.

    Any ideas, what could be wrong?

    Thanks!
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    not wrong.

    Perhaps, number of processes is 110 on your server.

    When you were counted by running ps and wc command, 110 + 2(ps and wc command).
    When you were counted by running zabbix_agent command with -t option, 110 + 1(zabbix_agent command).

    And, If zabbix_agentd is running, zabbix_agentd process count include 110 processes.
    If the zabbix_get command was executed on other servers, the number of processes does not increase from 110.

    Comment

    • karlism
      Junior Member
      • Sep 2015
      • 10

      #3
      Atsushi, thanks for reply! But I've found the actual problem. I had specified IP address of Zabbix agent as 127.0.0.1 by accident and Zabbix web interface was actually reporting about Zabbix server process count instead.

      Comment

      Working...