Qadry
unixcop Admin

How to Monitor Linux Server and Metrics from Browser using Scout Realtime

Introduction

In this article we will show how to monitor your Linux system and some of its metrics by using a simple server monitoring tool that we would like to share with you, called Scout_Realtime.

What is Scout_Realtime ?

Scout_Realtime is a simple, easy-to-use web-based tool for monitoring Linux server metrics in real-time, in a top-like fashion. So It shows you smooth-flowing charts about metrics gathered from the CPU, memory, disk, network, and processes (top 10), in real-time.

Installing Scout_Realtime Monitoring Tool in Linux

1. To install scout_realtime on your Linux server, you must have Ruby 2.7+ installed on your server using the following command.

On Debian/Ubuntu

$ sudo apt-get install rubygems	-y

RHEL/CentOS

# sudo yum -y install rubygems-devel

On Fedora

$ sudo dnf -y install rubygems-devel

2. Once you have installed Ruby on your Linux system, now you can install the scout_realtime package using the following command.

$ sudo gem install scout_realtime

3. After successfully installing the scout_realtime package, next, you need to start the scout_realtime daemon which will collect server metrics in real-time as shown.

$ scout_realtime

4. Now that the scout_realtime daemon is running on your Linux server that you want to monitor remotely on port 5555.

In addition to If you are running a firewall, you need to open port 5555 which scout_realtime listens on, in the firewall to allow requests to it.

On Debian/Ubuntu

$ sudo ufw allow 27017  
$sudo ufw reload 

RHEL/CentOS

# sudo iptables -A INPUT -p tcp --dport 5555 -j ACCEPT    
# sudo service iptables restart

On RHEL/CentOS

$ sudo firewall-cmd --permanent --add-port=5555/tcp       
$ sudo firewall-cmd reload

5. Now from any other machine, open a web browser and use the URL below to access the scout_realtime to monitor your remote Linux server performance.

http://localhost:5555 

OR

http://ip-address_or_hostname.com:5555

6. By default, scout_realtime logs are written in .scout/scout_realtime.log on the system, which you can view using cat command.

$ cat .scout/scout_realtime.log

7. To stop the scout_realtime daemon, run the following command.

$ scout_realtime stop

8. To uninstall scout_realtime from the system, run the following command.

$ gem uninstall scout_realtime

For more information, check out the Scout_realtime Github.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

x