telegraf: ERROR in input [phpfpm]: Unable parse phpfpm status. Error: Primary script unknown
Hi,
I’m encountering the same issue as #835 .
We have telegraf 1.0.1 gathering php5-fpm metrics, using sockets.
We’re on Debian wheezy. The php5-fpm sockets are owned by www-data, telegraf is a member of the www-data group.
Here is the config file were using :
[[inputs.phpfpm]]
urls = ["/var/run/xxxxxxx.sock"]
In the log file we have :
ERROR in input [phpfpm]: Unable parse phpfpm status. Error: Primary script unknown
<nil>
Do you guys have an idea on what’s wrong ?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 17 (7 by maintainers)
Did you actually enabled status_path in phpfpm config?
For example:
pm.status_path = /statusYou have to tell telegraf where to find the status page.
urls = ["/run/php-fpm/example.org.sock:fpm-status"]