Ad Widget

Collapse

Why so much zabbix_agentd daemons ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pach
    Junior Member
    • Jun 2009
    • 6

    #1

    Why so much zabbix_agentd daemons ?

    Hi,
    I would like to know why, when I start zabbix-agentd, I have 5 or 6 differents process running ?

    zabbix 11802 0.0 0.2 4724 648 ? SN 13:07 0:00 /usr/sbin/zabbix_agentd
    zabbix 11803 0.0 0.3 4724 816 ? SN 13:07 0:00 /usr/sbin/zabbix_agentd
    zabbix 11804 0.0 0.3 4736 928 ? SN 13:07 0:02 /usr/sbin/zabbix_agentd
    zabbix 11805 0.0 0.3 4736 928 ? SN 13:07 0:02 /usr/sbin/zabbix_agentd
    zabbix 11806 0.0 0.3 4736 928 ? SN 13:07 0:02 /usr/sbin/zabbix_agentd
    zabbix 11807 0.0 0.2 4744 668 ? SN 13:07 0:00 /usr/sbin/zabbix_agentd

    Thank a lot
  • RandySpinaGE
    Member
    • Jun 2006
    • 57

    #2
    It's an entry in the zabbix_agentd.conf file
    Allows for more or less simultaneous polls from the server

    Comment

    • nelsonab
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2006
      • 1233

      #3
      Every time the Zabbix server connects to the agent it uses one of those threads. The more threads the more queries the agent can respond to at a time. The default of 5 is usually more than enough for most installations.
      RHCE, author of zbxapi
      Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
      Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

      Comment

      • pach
        Junior Member
        • Jun 2009
        • 6

        #4
        Thanks for your answers
        However, it i strange that in my configuration file I have :
        # Number of pre-forked instances of zabbix_agentd,
        # which process passive checks.
        # Default value is 3.
        # This parameter must be between 1 and 16.

        StartAgents=3


        And when I look how many process are runnig, I see 6 of them.

        Anyway, thanks a lot !

        Comment

        Working...