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

Unable to Stop zabbix_agent inside docker container

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Commercial support required
    • Icon: Blocker Blocker
    • None
    • 3.0.28
    • Agent (G), Installation (I)

      Steps to reproduce:

      1. Install zabbix_agent inside docker container or write Dockerfile which install Zabbix_agent but did not used zabbix_agent service as pid 1 
      2. start zabbix agent </etc/init.d/zabbix-agent start>
      3. stop zabbix agen  </etc/init.d/zabbix-agent stop> but this stop command did not stop the zabbix_agent 
      4. when i hit "ps-ef " it shows : 

      Result:

      In result you can see still zabbix-agent process 

      UID PID PPID C STIME TTY TIME CMD
      root 1 0 0 15:51 pts/0 00:00:00 /bin/bash /init.sh
      mysql 9 1 0 15:51 pts/0 00:00:04 mysqld
      zabbix 75 0 0 15:57 ? 00:00:00 /usr/sbin/zabbix_agentd
      zabbix 77 75 0 15:57 ? 00:00:01 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
      zabbix 78 75 0 15:57 ? 00:00:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
      zabbix 79 75 0 15:57 ? 00:00:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
      zabbix 80 75 0 15:57 ? 00:00:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
      zabbix 81 75 0 15:57 ? 00:00:00 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
      root 231 0 1 16:57 pts/1 00:00:00 bash
      root 256 231 0 16:57 pts/1 00:00:00 ps -ef
      

      Expected:
      there should be not any process of zabbix-agent

            Unassigned Unassigned
            devops Engineer gaurav kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: