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

            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: