How to monitor a Linux Server

Introduction

You’re about to read how to setup monitoring for your Linux server in less than 90 seconds. That’s how long it takes to be up and running with CloudRadar! Alternatively If you prefer to watch rather than read, you can click on this link

The monitored server doesn’t need a public IP address, although internet access is required.

Add the host to CloudRadar

First, you need to add a host... Navigate to Dashboard now.

Then simply click the ADD HOST button, followed by Server.

A host will need a name that’s unique in your account. The FQDN/IP of the monitored server isn’t required and can be added later at any time to use agentless monitoring.

Now the host has been created in CloudRadar, we need to install the agent...

Install the agent

Remember, to get this working correctly you’ll need to install this agent on the server with root or sudo privileges.

Now - click the Choose your operating system and from the options, select the Linux distribution suitable for your server and you’ll see all the information we need to get set up including the agent version, hub user, password and url.

You’ll need to COPY these commands to CLIPBOARD...

Now you need to ssh login to the monitored Ubuntu server and paste the commands we just copied.

When the installation has completed, you’ll see a message to inform you that the agent has connected successfully.

At this stage, the setup’s done and it only took a minute!

We can close the installation procedure, and as you can see the AGENT is now in a ”connected” state.

Review the check results (latest data)

Now, to access all the latest monitoring data for our server, click on the “LATEST DATA” tab...

Here you’ll find over 50 pre-configured OS metrics like CPU Utilization, Available, Shared and Cached Memory and many, many more.

You can filter the results using the search bar.

Remember, it can take up to 2 minutes for the agent to do it’s thing and push up all your server metrics.

And here we have even more for you, expand the “OS monitoring graphs” section to view how your metrics have changed over time.

Expand the “OS monitoring processes” section and you’ll see a full list of processes which are running on the monitored server.

When you add a host with an agent like we’ve just done, CloudRadar will automatically create some default rules for you...

They’ll allow us to send you an alert or a warning when you run out of disk space, or if your memory or cpu consumption is too high.

Graphical overview
Example of the CPU monitoring