Open kevin25 opened 10 years ago
From the error:
"Error collecting stats data from FPM. Please check configuration and sure it conforms with YAML syntax"
It looks like your configuration is not setup properly.
Did you meant php-fpm or NewRelic Plugin Agent?
FYI, php-fpm doesnt show the status. I'm trying to figure it out. It's weird.
@kevin25, Do you managed to fix this? Faced same problem on my debian 7.x server.
All sleeping?
@ankitpr89 ? I pointed out what the error was. Since the newrelic-plugin-agent is just a client, if it's misconfigured it can not get the data. I can't help beyond what the error displays given lack of any additional information.
this is so weird, i did everything by the README and a guide, I have properly answering page /status?json (from localhost, from remote)
and NGINX part works actually (/nginx_status), but the PHP-FPM doesn't :(
when i run in foreground i see:
ERROR 2015-09-03 06:47:27,552 30656 MainProcess MainThread newrelic_plugin_agent.plugins.base fetch_data L452 : JSON decoding error: ValueError('No JSON object could be decoded',) ERROR 2015-09-03 06:47:27,552 30656 MainProcess MainThread newrelic_plugin_agent.plugins.base error_message L128 : Error collecting stats data from FPM. Please check configuration and sure it conforms with YAML syntax
but my page does reply with proper JSON format..
any help will be appreciated!
Hello,
I got error:
Enabling plugin: php_fpm ERROR 2014-08-13 20:43:09,996 22536 MainProcess MainThread newrelic_plugin_agent.plugins.base fetch_data L452 : JSON decoding error: ValueError('No JSON object could be decoded',) ERROR 2014-08-13 20:43:09,996 22536 MainProcess MainThread newrelic_plugin_agent.plugins.base error_message L128 : Error collecting stats data from FPM. Please check configuration and sure it conforms with YAML syntax
I'm not sure what happened to this plugin? Can you tell me what's wrong? Thanks!