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

Zabbix Server Docker : sh: /usr/sbin/fping: Operation not permitted

XMLWordPrintable

    • S2401-1
    • 1

      Steps to reproduce:

      1) Install via podman  : 

      podman pod create --name zabbix -p 8080:8080 -p 10051:10051
      
      podman run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e "MYSQL_USER="zabbix" -e MYSQL_PASSWORD="pippo" -e MYSQL_ROOT_PASSWORD="pippo" --restart=always --pod=zabbix -d docker.io/library/mysql:8.0 --character-set-server=utf8 --collation-server=utf8_bin --default-authentication-plugin=mysql_native_password
      
      podman run --name zabbix-server-mysql -t -e DB_SERVER_HOST="127.0.0.1" -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="pippo" -e MYSQL_ROOT_PASSWORD="pippo" -e ZBX_JAVAGATEWAY="127.0.0.1" --restart=always --pod=zabbix -d zabbix/zabbix-server-mysql:alpine-6.4-latest
      
      podman run --name zabbix-web-mysql -t -e ZBX_SERVER_HOST="127.0.0.1" -e DB_SERVER_HOST="127.0.0.1" -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="pippo" -e MYSQL_ROOT_PASSWORD="pippo" --restart=always --pod=zabbix -d zabbix/zabbix-web-nginx-mysql:alpine-6.4-latest
      
      podman run --name zabbix-agent -e ZBX_SERVER_HOST="127.0.0.1,localhost" --restart=always --pod=zabbix -d zabbix/zabbix-agent
      

      2) create an host to monitor via Data Collection -> Host menù

      3) give an IP to the monitored host and use the ICMP ping template for monitoring.

       

      Result:

      Looking at latest data for the monitored object I receive ad error sh: /usr/sbin/fping: Operation not permitted

      If I logon on the zabbix-server-mysql container I cannot sudo in order to change the permissions.

       

      Can you please fix it ?

      Which is the password for zabbix user on container in order to "sudo" some commands?

       

      Regards

      Luca

        1. image-2023-05-22-18-01-37-399.png
          43 kB
          Luca Carangelo
        2. image-2023-05-24-11-04-51-896.png
          8 kB
          Luca Carangelo
        3. image-2023-05-24-11-05-34-947.png
          35 kB
          Luca Carangelo
        4. image-2023-05-25-10-46-25-531.png
          7 kB
          Luca Carangelo
        5. image-2023-05-25-10-46-38-914.png
          7 kB
          Luca Carangelo
        6. image-2023-05-25-10-48-38-491.png
          17 kB
          Luca Carangelo
        7. image-2023-05-25-10-49-04-770.png
          34 kB
          Luca Carangelo
        8. image-2023-09-08-12-10-50-929.png
          105 kB
          Joe Madden

            martins-v Martins Valkovskis
            l.carangelo@sirti.it Luca Carangelo
            Team A
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: