{"id":11846,"date":"2019-03-17T14:14:52","date_gmt":"2019-03-17T14:14:52","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11846"},"modified":"2019-03-17T14:14:52","modified_gmt":"2019-03-17T14:14:52","slug":"scout_realtime-monitor-server-and-process-metrics-in-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/17\/scout_realtime-monitor-server-and-process-metrics-in-linux\/","title":{"rendered":"Scout_Realtime \u2013 Monitor Server and Process Metrics in Linux"},"content":{"rendered":"<p>In the past, we\u2019ve covered lots of command-line based tools for\u00a0<a href=\"https:\/\/www.tecmint.com\/command-line-tools-to-monitor-linux-performance\/\" target=\"_blank\" rel=\"noopener\">monitoring Linux performance<\/a>, such as\u00a0<a href=\"https:\/\/www.tecmint.com\/12-top-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">top<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/install-htop-linux-process-monitoring-for-rhel-centos-fedora\/\" target=\"_blank\" rel=\"noopener\">htop<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/how-to-install-atop-to-monitor-logging-activity-of-linux-system-processes\/\" target=\"_blank\" rel=\"noopener\">atop<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/glances-an-advanced-real-time-system-monitoring-tool-for-linux\/\" target=\"_blank\" rel=\"noopener\">glances<\/a>\u00a0and more, and a number of web based tools such as\u00a0<a href=\"https:\/\/www.tecmint.com\/cockpit-monitor-multiple-linux-servers-via-web-browser\/\" target=\"_blank\" rel=\"noopener\">cockpit<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/pydash-a-web-based-linux-performance-monitoring-tool\/\" target=\"_blank\" rel=\"noopener\">pydash<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/monitors-linux-server-performance-remotely-using-web-browser\/\" target=\"_blank\" rel=\"noopener\">linux-dash<\/a>, just to mention but a few. You can also run\u00a0<strong>glances<\/strong>\u00a0in web server mode to monitor remote servers. But all that aside, we have discovered yet another simple server monitoring tool that we would like to share with you, called\u00a0<strong>Scout_Realtime<\/strong>.<\/p>\n<p><strong>Scout_Realtime<\/strong>\u00a0is a simple, easy-to-use web based tool for monitoring Linux server metrics in real-time, in a top-like fashion. It shows you smooth-flowing charts about metrics gathered from the CPU, memory, disk, network, and\u00a0<a href=\"https:\/\/www.tecmint.com\/find-processes-by-memory-usage-top-batch-mode\/\" target=\"_blank\" rel=\"noopener\">processes (top 10)<\/a>, in real-time.<\/p>\n<div id=\"attachment_30037\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Real-Time-Linux-Server-Process-Monitoring.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30037\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Real-Time-Linux-Server-Process-Monitoring.gif\" sizes=\"auto, (max-width: 1234px) 100vw, 1234px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Real-Time-Linux-Server-Process-Monitoring.gif 1234w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/Real-Time-Linux-Server-Process-Monitoring-768x478.gif 768w\" alt=\"Real Time Linux Server Process Monitoring\" width=\"1234\" height=\"768\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Real Time Linux Server Process Monitoring<\/p>\n<\/div>\n<p>In this article, we will show you how install\u00a0<strong>scout_realtime<\/strong>\u00a0monitoring tool on Linux systems to monitor a remote server.<\/p>\n<h3>Installing Scout_Realtime Monitoring Tool in Linux<\/h3>\n<p><strong>1.<\/strong>\u00a0To install\u00a0<strong>scout_realtime<\/strong>\u00a0on your Linux server, you must have\u00a0<strong>Ruby 1.9.3+<\/strong>\u00a0installed on your server using following command.<\/p>\n<pre>$ sudo apt-get install rubygems\t\t[On <strong>Debian\/Ubuntu<\/strong>]\r\n$ sudo yum -y install rubygems-devel\t[On <strong>RHEL\/CentOS<\/strong>]\r\n$ sudo dnf -y install rubygems-devel\t[On <strong>Fedora 22+<\/strong>]\r\n<\/pre>\n<p><center><strong>2.<\/strong>\u00a0Once you have installed\u00a0<strong>Ruby<\/strong>\u00a0on your Linux system, now you can install\u00a0<strong>scout_realtime<\/strong>\u00a0package using the following command.<\/center><\/p>\n<pre>$ sudo gem install scout_realtime\r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0After successfully installing\u00a0<strong>scout_realtime<\/strong>\u00a0package, next, you need to start the\u00a0<strong>scout_realtime<\/strong>\u00a0daemon which will collect server metrics in real-time as shown.<\/p>\n<pre>$ scout_realtime\r\n<\/pre>\n<div id=\"attachment_30034\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/start-scout_realtime-on-server-being-monitored.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30034\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/start-scout_realtime-on-server-being-monitored.png\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/start-scout_realtime-on-server-being-monitored.png 872w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/start-scout_realtime-on-server-being-monitored-768x253.png 768w\" alt=\"Start Scout Realtime on Server\" width=\"872\" height=\"287\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Start Scout Realtime on Server<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0Now that the\u00a0<strong>scout_realtime<\/strong>\u00a0daemon is running on your Linux server that you want to monitor remotely on port\u00a0<strong>5555<\/strong>. If you are running a firewall, you need to open the port\u00a0<strong>5555<\/strong>\u00a0which\u00a0<strong>scout_realtime<\/strong>\u00a0listens on, in the firewall to allow requests to it.<\/p>\n<pre><strong>---------- On Debian\/Ubuntu ----------<\/strong>\r\n$ sudo ufw allow 27017  \r\n$sudo ufw reload \r\n\r\n<strong>---------- On RHEL\/CentOS 6.x ----------<\/strong>\r\n$ sudo iptables -A INPUT -p tcp --dport 5555 -j ACCEPT    \r\n$ sudo service iptables restart\r\n\r\n<strong>---------- On RHEL\/CentOS 7.x ----------<\/strong>\r\n$ sudo firewall-cmd --permanent --add-port=5555\/tcp       \r\n$ sudo firewall-cmd reload \r\n<\/pre>\n<p><strong>5.<\/strong>\u00a0Now from any other machine, open a web browser and use the URL below to access the\u00a0<strong>scout_realtime<\/strong>\u00a0to monitor your remote Linux server performance.<\/p>\n<pre>http:\/\/localhost:5555 \r\nOR\r\nhttp:\/\/ip-address-or-domain.com:5555 \r\n<\/pre>\n<div id=\"attachment_30038\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/ScoutRealtime-Linux-Server-Process-Monitoring.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30038\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/ScoutRealtime-Linux-Server-Process-Monitoring.png\" sizes=\"auto, (max-width: 1234px) 100vw, 1234px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/ScoutRealtime-Linux-Server-Process-Monitoring.png 1234w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/07\/ScoutRealtime-Linux-Server-Process-Monitoring-768x478.png 768w\" alt=\"ScoutRealtime Linux Server Process Monitoring\" width=\"1234\" height=\"768\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">ScoutRealtime Linux Server Process Monitoring<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0By default,\u00a0<strong>scout_realtime<\/strong>\u00a0logs are written in\u00a0<strong>.scout\/scout_realtime.log<\/strong>\u00a0on the system, that you can view using\u00a0<a href=\"https:\/\/www.tecmint.com\/13-basic-cat-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">cat command<\/a>.<\/p>\n<pre>$ cat .scout\/scout_realtime.log\r\n<\/pre>\n<p><strong>7.<\/strong>\u00a0To stop the\u00a0<strong>scout_realtime<\/strong>\u00a0daemon, run the following command.<\/p>\n<pre>$ scout_realtime stop\r\n<\/pre>\n<p><strong>8.<\/strong>\u00a0To uninstall\u00a0<strong>scout_realtime<\/strong>\u00a0from the system, run the following command.<\/p>\n<pre>$ gem uninstall scout_realtime\r\n<\/pre>\n<p>For more information, check out\u00a0<a href=\"https:\/\/github.com\/scoutapp\/scout_realtime\" target=\"_blank\" rel=\"nofollow noopener\">Scout_realtime Github repository<\/a>.<\/p>\n<p>It\u2019s that simple!\u00a0<strong>Scout_realtime<\/strong>\u00a0is a simple yet useful tool for monitoring Linux server metrics in real-time in a top-like fashion. You can ask any questions or give us your feedback in the comments about this article.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/scout_realtime-monitor-linux-server-and-process-metrics\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past, we\u2019ve covered lots of command-line based tools for\u00a0monitoring Linux performance, such as\u00a0top,\u00a0htop,\u00a0atop,\u00a0glances\u00a0and more, and a number of web based tools such as\u00a0cockpit,\u00a0pydash,\u00a0linux-dash, just to mention but a few. You can also run\u00a0glances\u00a0in web server mode to monitor remote servers. But all that aside, we have discovered yet another simple server monitoring tool &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/17\/scout_realtime-monitor-server-and-process-metrics-in-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Scout_Realtime \u2013 Monitor Server and Process Metrics in Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11846","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11846"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11846\/revisions"}],"predecessor-version":[{"id":11847,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11846\/revisions\/11847"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}