You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using newrelic_php_conf_dir: /etc/php/php.d but every time I run puppet, it keeps adding the newrelic.cfg file to /etc/newrelic/. Which I do not want. The reason is, if the file is placed there, then it does now allow the PHP agent to connect to the daemon: 2020-03-31 10:46:38.415 -0400 (11689 11689) warning: failed to connect to the newrelic-daemon. The agent expects a daemon to be started externally.
Basically every time I run puppet, I have to remove this .cfg file and restart php-fpm.
Has anybody had this issue?
How can I avoid it?
This is in my common.eyaml #New Relic newrelic::agent_type: php newrelic::server_type: linux newrelic::agent_php: newrelic_php_conf_dir: /etc/php/php.d newrelic_daemon_port: "@newrelic-daemon" newrelic::license_key: BLAHBLAHBLAH
Under php::settings: newrelic: newrelic.daemon.port: "@newrelic-daemon"
The text was updated successfully, but these errors were encountered:
I'm using
newrelic_php_conf_dir: /etc/php/php.d
but every time I run puppet, it keeps adding the newrelic.cfg file to /etc/newrelic/. Which I do not want. The reason is, if the file is placed there, then it does now allow the PHP agent to connect to the daemon:2020-03-31 10:46:38.415 -0400 (11689 11689) warning: failed to connect to the newrelic-daemon. The agent expects a daemon to be started externally.
Basically every time I run puppet, I have to remove this .cfg file and restart php-fpm.
Has anybody had this issue?
How can I avoid it?
This is in my common.eyaml
#New Relic newrelic::agent_type: php newrelic::server_type: linux newrelic::agent_php: newrelic_php_conf_dir: /etc/php/php.d newrelic_daemon_port: "@newrelic-daemon" newrelic::license_key: BLAHBLAHBLAH
Under php::settings:
newrelic: newrelic.daemon.port: "@newrelic-daemon"
The text was updated successfully, but these errors were encountered: