Загрузка данных


sudo dnf install epel-release
sudo dnf makecache

sudo dnf search node_exporter

sudo systemctl enable --now node_exporter



  cadvisor:
    image: gcr.io/cadvisor/cadvisor:latest
    container_name: cadvisor
    restart: unless-stopped

    ports:
      - "8080:8080"

    volumes:
      - /:/rootfs:ro
      - /var/run:/var/run:ro
      - /sys:/sys:ro
      - /var/lib/docker:/var/lib/docker:ro


httpd -M | grep status_module
LoadModule status_module modules/mod_status.so

ExtendedStatus On

ExtendedStatus On

<Location "/server-status">
    SetHandler server-status

    Require all granted
</Location>

  apache-exporter:
    image: lusotycoon/apache-exporter:latest
    container_name: apache-exporter
    restart: unless-stopped

    command:
      - --scrape_uri=http://apache/server-status?auto