Installing NewRelic Monitoring Software

Overview

NewRelic is a web-based server monitoring system used by many organizations, from small businesses to large corporations including Groupon, Nike and HP. It can be used to view

Here are a few screenshots of the interface:

NewRelic

NewRelic server monitoring overview

Server Monitoring overview

NewRelic server monitoring disk io utilization

Server Disk I/O Utilization

NewRelic PHP application

Applications monitoring interface

 

Installation

Before we start, you need to log in to your server via SSH as root user.

CentOS / Red Hat Linux:

1. The first step is to get the repository which contains the New Relic files. We do this by typing:

rpm -Uvh http://download.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm

2. Now that we’ve added the repository with the required files, we need to install the NewRelic package. This can be done with the following command:

yum install newrelic-sysmond

3. Once installed, you need to tell the software your NewRelic license key. Replace “LICENSE_KEY_HERE” with your unique license key. If you’re unsure of your key, it can be found by clicking the bar at the top right of your screen, selecting “Account settings”, then view License key.

nrsysmond-config --set license_key=LICENSE_KEY_HERE

4. Now that we have configured NewRelic on the server, the final step is to start the daemon.

/etc/init.d/newrelic-sysmond start

 

In addition to monitoring physical nodes, NewRelic can monitor mobile application performance, and also has a number of add-on apps called ‘agents’, which bring enhanced functions such as the ability to monitor PHP, MySQL, Apache, Nginx etc.


Was this article helpful?
Spread the word!