By Jan Barends
I have no idea how to enable the install of the New Relic script on a DO server, as it requires a http proxy, and seems a bit over the top to install some proxy service just to install NR.
I am using New Relic on several other servers, to figure out performance issues with Wordpress and database.
Anybody has some pointers?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
A proxy isn’t required, you can leave it blank, unless you have egress filters enabled. The new relic agent just connects to the new relic API automatically.
What installer are you using?
Hello,
As already mentioned HTTP proxy should not be needed. As you are planning to monitor a WordPress website, I believe that you just need to install the New Relic PHP agent.
Are you installing another agent?
Best,
Bobby
Thanks for replying Bobby and Brian, i think i failed to mention the DO is managed by Spinupwp. Spinup has not been able to give me any pointers so far.
I revisited this issue, hoping i was wrong, but this is the message when installing the NR php client. Logged in as root via ssh.
[ssh] ServerCo:~$ curl -Ls https://download.newrelic.com/install/newrelic-cli/scripts/install.sh | bash && sudo XXXXXXXXXXXXXXX NEW_RELIC_ACCOUNT_ID=XXXXXXX /usr/local/bin/newrelic install -n php-agent-installer Starting installation. Installing New Relic CLI v0.50.14 Installing to /usr/local/bin using sudo
! Connecting to New Relic Platform… Failed
We encountered an issue during the installation: there was an error connecting to New Relic platform. This is an indication that your firewall or proxy settings do not allow outbound traffic to the New Relic platform. To configure the use of an HTTP proxy, use the HTTP_PROXY and/or HTTPS_PROXY environment variables. For more details visit https://github.com/newrelic/newrelic-cli/blob/main/docs/GETTING_STARTED.md#using-an-http-proxy. Details: 403 response returned. If this problem persists, visit the documentation and support page for additional help here at https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/get-started/requirements-infrastructure-agent/
[/ssh]
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.