NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Using new Relic's Free Server Monitoring

Why New Relic?



Due to some random circumstances at work (and off the cuff), I haven't used New Relic for a while (3 years). Recently, I had a look and noticed that their Server monitoring tier was segregated from their other offerings, including APM, Insights, Mobile, Browser and others.



It's not exactly how I remember it, but maybe the difference was in the marketing/communications. In any case, the best aspect is that the Monitoring of servers is free!



While in terms of your web application, you'll get the best value from New Relic with their paid services, I've found their free Server Monitoring to be an instant life saver, especially when monitoring many (70or more) servers.



The free monitoring of servers is an entry point to make it easier for your part to buy into paid products Of course. It remains to be seen whether this will be free.



We make use of AWS to host paid hosting and customer trials at work. We have one server per application instance since the main application is hosted on-premise and not the multi-tenant database structure. This means that we have a lot of running servers!



We've set up Cloudwatch with SNS for notifications and alarms but it's still difficult to use Cloudwatch to get a clear overview of all the servers. To see what information we could uncover we decided to try New Relic on a small subset of servers.



We were delighted to do so.



Install



The server monitoring daemon installation is extremely simple, particularly because they provide instructions specific to your OS on a silver-plated plate when you add a new server to their web console.



For Debian/Ubuntu servers, these instructions are as follows (only slightly modified for servers running without user root):



These instructions will give you your license key. Don't blindly copy and paste the license key above ?.



Configure



Technically, you don't have to change anything else. However, I like to change one thing. MINECRAFT The server's name, as shown in New Relic will match the host name of the server, which you can find by running the command hostname.



This may not be the way you prefer to identify it, so you can either wait for the server to show up in New Relic, or configure the hostname in advance in the New Relic configuration installed on your server. I chose the latter option.



Edit the /etc/newrelic/nrsysmond.cfg file and change the hostname section to whatever is appropriate for your server.



After making any changes, start (or restart) the newrelic-sysmond services:



If you don't take any further steps, you'll soon notice the server in your New Relic account under Server section.



What We Watch



While the New Relic monitoring isn't very sophisticated, it does come with some very nice features.



Processes and their numbers.



PHP is running a bit out of control. That's one issue we were alerted to. The server's CPU usage has surpassed the default threshold of 15 minutes.



We immediately killed off a few PHP processes that were in a state of zombie mode. We saw immediately a reduction in CPU back to normal levels.



We can see a more detailed view of each process type as well, sorting by memory and cpu usage:



Disk Usage



New Relic also sent us alerts regarding the use of disks. One server was stuffed with files that were taking up a lot of space. We were able reduce the amount of disk space used by manually deleting the extra media files, giving us time to allocate more hard drive space.


Homepage: https://nicisoft.com/
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.