Open chanyshev opened 3 years ago
Run with Docker
SOCK="/run/php/php7.2-fpm.sock"; \ docker run -d -p 9253:9253 -v $SOCK:$SOCK \ lusotycoon/phpfpm-exporter \ --phpfpm.socket-paths=$SOCK
docker logs quirky_yonath
2021/02/26 11:25:30 Starting phpfpm_exporter (version=0.5.0, branch=HEAD, revision=9cb855b0e40f98db3bfae60d34d7b87834329310) 2021/02/26 11:25:30 Build context (go=go1.12.6, user=root@a53eecf46f97, date=20190621-12:09:02) 2021/02/26 11:25:30 Starting Server: :9253 2021/02/26 11:25:39 Failed to scrape socket: malformed MIME header line: Primary script unknown 2021/02/26 11:25:49 Failed to scrape socket: malformed MIME header line: Primary script unknown 2021/02/26 11:25:59 Failed to scrape socket: malformed MIME header line: Primary script unknown
Run with Docker
docker logs quirky_yonath
2021/02/26 11:25:30 Starting phpfpm_exporter (version=0.5.0, branch=HEAD, revision=9cb855b0e40f98db3bfae60d34d7b87834329310) 2021/02/26 11:25:30 Build context (go=go1.12.6, user=root@a53eecf46f97, date=20190621-12:09:02) 2021/02/26 11:25:30 Starting Server: :9253 2021/02/26 11:25:39 Failed to scrape socket: malformed MIME header line: Primary script unknown 2021/02/26 11:25:49 Failed to scrape socket: malformed MIME header line: Primary script unknown 2021/02/26 11:25:59 Failed to scrape socket: malformed MIME header line: Primary script unknown