There are numerous free tools on Linux that are used to monitor the Linux system including hardware and software. We all may have already come across some command-line Linux performance monitoring tools such as top, htop, atop, etc.
Alike that we come across another tool called Scout Realtime tool which is used for server monitoring, that you can see in your browser.
Scout real-time can be said as a better version of top command. It monitors and measures disk, memory, network, CPU, and process metrics of Linux servers. Smooth-flowing charts are given. Performance details can be exported as CSV/PDF or send via email.
You can find the code at the Scout_realtime Github repository.
In today’s article, we will show you how we can install a scout real-time monitoring tool on Linux (Debian/Ubuntu-based distros ) systems and use it.
How to Install Scout_Realtime Monitoring Tool in Linux
For installing Scout real-time on your Linux server, first, make sure you have already Ruby 1.9.3+ installed on your server and if not, use the following command to install ruby:-
$ sudo apt-get install rubygems
After we are done installing/checking Ruby on your Linux system, now we have to install scout_realtime using the following command:-
$ sudo gem install scout_realtime
Now after you are done installing scout_realtime,scout_realtime daemon is needed to be started for collecting server metrics in real-time by using the following command:-
After the scout_realtime daemon is successfully started, you have to enable port 5555, if a firewall is running because the scout_realtime daemon running on your Linux server has to be monitored remotely on port 5555. So to allow request on the firewall, you have to use the following command-
$ sudo ufw allow 27017 $sudo ufw reload
Now you can monitor your Linux server performance by accessing access the scout_realtime remotely from any other machine or from your machine through a browser by using the following URL:-
http://localhost:5555 OR http://ip-address-or-domain.com:5555
Scout_realtime logs are written in .scout/scout_realtime.log on the system by default that can be viewed using cat command:-
$ cat .scout/scout_realtime.log
For stopping the scout_realtime daemon, use the following command:
$ scout_realtime stop
For getting more help regarding scout_realtime use the following command:
$ cout_realtime -h
And if you want to uninstall scout_realtime from the system, use the following command:
$ gem uninstall scout_realtime