How To Install sysusage on CentOS 8

sysusage is System monitoring based on Perl, rrdtool, and sysstat

Introduction

In this tutorial we learn how to install sysusage on CentOS 8.

What is sysusage

SysUsage continuously monitor your systems information and generate periodic graphical reports using rrdtool or JavaScript jqplot library. All reports are shown through a web interface. SysUsage grabs all system activities using Sar and system commands allowing you to keep tracks of your computer or server activity during its life. It is a great help for performance analysis and resources management. The threshold notification can alarm you when the system capabilities are reached by sending SMTP messages or through Nagios reports. By default it will monitor all you need to know on your server activity, it is written in Perl and should works on all Unix like platforms. It doesn’t require a Database system like MySQL or PostgreSQL but relies on rrdtool. In addition you can embedded your own plugins written in any programming language. Since release 5.0 SysUsage can be run from a centralized place where collected statistics will be stored and where graphics will be rendered. Unlike other monitoring tools with lot of administration work, SysUsage is design to have the least possible things to configure and a high level of admin system knowledge. Each server can also be self monitored and you just have to connect your browser to the web interface to know its health level. SysUsage is design with simplicity in mind. providing all relevant statistics from the servers within an intuitive web interface and without spending too much time to configure it, if you know Nagios, you know what I mean. You will especially like SysUsage for that.

We can use yum or dnf to install sysusage on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install sysusage.

Install sysusage on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install sysusage using dnf by running the following command:

sudo dnf -y install sysusage

Install sysusage on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install sysusage using yum by running the following command:

sudo yum -y install sysusage

How To Uninstall sysusage on CentOS 8

To uninstall only the sysusage package we can use the following command:

sudo dnf remove sysusage

sysusage Package Contents on CentOS 8

/etc/cron.d/sysusage
/usr/bin/sysusage
/usr/bin/sysusagegraph
/usr/bin/sysusagejqgraph
/usr/bin/sysusagewarn
/usr/share/doc/sysusage
/usr/share/doc/sysusage/ChangeLog
/usr/share/doc/sysusage/README
/usr/share/doc/sysusage/TODO
/usr/share/man/man1/sysusage.1.gz
/usr/share/sysusage
/usr/share/sysusage/plugins
/usr/share/sysusage/plugins/plugin-sample1.pl
/usr/share/sysusage/plugins/plugin-sample2.pl
/var/www/sysusage
/var/www/sysusage/favicon.ico
/var/www/sysusage/jqplot
/var/www/sysusage/jqplot/excanvas.min.js
/var/www/sysusage/jqplot/jqplot.css
/var/www/sysusage/jqplot/jquery-ui
/var/www/sysusage/jqplot/jquery-ui/css
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-icons_222222_256x240.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-icons_228ef1_256x240.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/images/ui-icons_ffffff_256x240.png
/var/www/sysusage/jqplot/jquery-ui/css/ui-lightness/jquery-ui-1.8.1.custom.css
/var/www/sysusage/jqplot/jquery-ui/js
/var/www/sysusage/jqplot/jquery-ui/js/jquery-1.4.2.min.js
/var/www/sysusage/jqplot/jquery-ui/js/jquery-ui-1.8.1.custom.min.js
/var/www/sysusage/jqplot/jquery.jqplot.min.css
/var/www/sysusage/jqplot/jquery.jqplot.min.js
/var/www/sysusage/jqplot/jquery.min.js
/var/www/sysusage/jqplot/plugins
/var/www/sysusage/jqplot/plugins/jqplot.BezierCurveRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.BezierCurveRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.barRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.barRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.blockRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.blockRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.bubbleRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.bubbleRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasAxisTickRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasOverlay.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasOverlay.min.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasTextRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.canvasTextRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.categoryAxisRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.categoryAxisRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.ciParser.js
/var/www/sysusage/jqplot/plugins/jqplot.ciParser.min.js
/var/www/sysusage/jqplot/plugins/jqplot.cursor.js
/var/www/sysusage/jqplot/plugins/jqplot.cursor.min.js
/var/www/sysusage/jqplot/plugins/jqplot.dateAxisRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.dateAxisRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.donutRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.donutRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.dragable.js
/var/www/sysusage/jqplot/plugins/jqplot.dragable.min.js
/var/www/sysusage/jqplot/plugins/jqplot.enhancedLegendRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.funnelRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.funnelRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.highlighter.js
/var/www/sysusage/jqplot/plugins/jqplot.highlighter.min.js
/var/www/sysusage/jqplot/plugins/jqplot.json2.js
/var/www/sysusage/jqplot/plugins/jqplot.json2.min.js
/var/www/sysusage/jqplot/plugins/jqplot.logAxisRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.logAxisRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.mekkoAxisRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.mekkoRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.mekkoRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.meterGaugeRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.mobile.js
/var/www/sysusage/jqplot/plugins/jqplot.mobile.min.js
/var/www/sysusage/jqplot/plugins/jqplot.ohlcRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.ohlcRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.pieRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.pieRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.pointLabels.js
/var/www/sysusage/jqplot/plugins/jqplot.pointLabels.min.js
/var/www/sysusage/jqplot/plugins/jqplot.pyramidAxisRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.pyramidAxisRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.pyramidGridRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.pyramidGridRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.pyramidRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.pyramidRenderer.min.js
/var/www/sysusage/jqplot/plugins/jqplot.sizeAxisRenderer.js
/var/www/sysusage/jqplot/plugins/jqplot.trendline.js
/var/www/sysusage/jqplot/plugins/jqplot.trendline.min.js
/var/www/sysusage/sysusage-logo.png
/var/www/sysusage/sysusage.css
/var/www/sysusage/sysusage.js
/var/www/sysusage/sysusage_arrow.png

References

Summary

In this tutorial we learn how to install sysusage on CentOS 8 using yum and dnf.