Set-up New Relic Monitoring on Your Webdock Server

Last updated: July 29th 2024

Introduction

New Relic is a powerful monitoring tool that can help you keep track of your entire infrastructure. You can use it to monitor cloud services, dedicated resources, or containers running in an orchestrated environment.

The modern UI of the infrastructure makes monitoring all host data on one page easy. Real-time data collection helps accelerate the work of current operations teams.

New Relic Infrastructure is a powerful monitoring tool that allows you to create custom queries to understand your data better. Custom charts, tables, and other visual data presentations help you make informed decisions about your infrastructure.

This post will look at installing and configuring New Relic Infrastructure on your server.

Prerequisites

  • A Linux KVM Server (I am using Ubuntu 22.04)
  • A Sudo User

New Relic can also be installed on our legacy LXD instances, but at this moment things are off on LXD instances and incorrect specs are shown in New Relic. Moreover, Webdock is switching to KVM-only servers. So you should use KVM instead.

Creating an account on New Relic

To install New Relic on your server, you'll need to create an account on their website. They offer a free plan so that you can explore the insights that their platform can provide. Once registered, validated, and chose your Data Region, you'll be able to select the plan that best fits your needs.

image2.png

 

After completing the account creation and validation process, you must select an "Installation Plan." You should click on begin installation and copy the command after choosing the Auto-discovery and Linux options.

image4.png

image5.png

Installing New Relic

SSH into your server as a sudo user, and run the installation command. It'll look something like this:

$ curl -Ls https://download.newrelic.com/install/newrelic-cli/scripts/install.sh | bash && sudo NEW_RELIC_API_KEY=NRAK-------CS46ZLEVA5KHDR3HXRP8VB NEW_RELIC_ACCOUNT_ID=33341XX NEW_RELIC_REGION=EU /usr/local/bin/newrelic install

Once hit enter, the installation process will begin. Installation may take a little time, depending on your server specs.

Screenshot from 2023-02-13 19-11-31.png

You may need to click ‘Y’ to install Golden Signal Alerts and enable email notifications to your registered email address.

That's it - you're done! Your New Relic account is now collecting and monitoring data from your server on your New Relic Dashboard.

image3.png

Conclusion

This guide provided step-by-step instructions to install New Relic to monitor your VPS.

Aayush Nair has been designing WordPress websites for eight years now. He is also a content writer, writing blogs on technology and related topics, and likes helping people in his free time.

Related articles