hipages / php-fpm_exporter

A prometheus exporter for PHP-FPM.
Apache License 2.0
604 stars 123 forks source link

Error scraping PHP-FPM: unexpected EOF #63

Closed goldstrike77 closed 5 years ago

goldstrike77 commented 5 years ago

I want to monitor my php-fpm but shows the following errors, really need your help.

PHP versions from 5.6 to 7 are all shown in this errors. pm.status_path = /status

php-fpm_exporter get --phpfpm.scrape-uri tcp://127.0.0.1:9000/status --log.level debug ERRO[0000] unexpected EOF
DEBU[0000] Updated 1 pool(s) in 1.242031ms
Address: tcp://127.0.0.1:9000/status
Pool:
Start time: Mon, 01 Jan 0001 00:00:00 +0000 Start since: 0
Accepted connections: 0
Listen Queue: 0
Max Listen Queue: 0
Listen Queue Length: 0
Idle Processes: 0
Active Processes: 0
Total Processes: 0
Max active processes: 0
Max children reached: 0
Slow requests: 0

php-fpm_exporter server --phpfpm.scrape-uri "tcp://127.0.0.1:9000/status" --log.level debug INFO[0000] Starting server on :9253 with path /metrics
ERRO[0018] unexpected EOF
DEBU[0018] Updated 1 pool(s) in 838.074µs
ERRO[0018] Error scraping PHP-FPM: unexpected EOF
ERRO[0046] unexpected EOF

goldstrike77 commented 5 years ago

sorry, my bad, I set the wrong parameters of listen.allowed_clients.