How To Install monitorix on CentOS 8
Introduction
In this tutorial we learn how to install monitorix
on CentOS 8.
What is monitorix
Monitorix is a free, open source, lightweight system monitoring tool designed to monitor as many services and system resources as possible. It has been created to be used under production Linux/UNIX servers, but due to its simplicity and small size may also be used on embedded devices as well.
We can use yum
or dnf
to install monitorix
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install monitorix.
Install monitorix 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 monitorix
using dnf
by running the following command:
sudo dnf -y install monitorix
Install monitorix 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 monitorix
using yum
by running the following command:
sudo yum -y install monitorix
How To Uninstall monitorix on CentOS 8
To uninstall only the monitorix
package we can use the following command:
sudo dnf remove monitorix
monitorix Package Contents on CentOS 8
/etc/logrotate.d/monitorix
/etc/monitorix
/etc/monitorix/conf.d
/etc/monitorix/monitorix.conf
/etc/sysconfig/monitorix
/usr/bin/monitorix
/usr/lib/monitorix
/usr/lib/monitorix/HTTPServer.pm
/usr/lib/monitorix/Monitorix.pm
/usr/lib/monitorix/ambsens.pm
/usr/lib/monitorix/apache.pm
/usr/lib/monitorix/apcupsd.pm
/usr/lib/monitorix/bind.pm
/usr/lib/monitorix/chrony.pm
/usr/lib/monitorix/disk.pm
/usr/lib/monitorix/du.pm
/usr/lib/monitorix/emailreports.pm
/usr/lib/monitorix/fail2ban.pm
/usr/lib/monitorix/fs.pm
/usr/lib/monitorix/ftp.pm
/usr/lib/monitorix/gensens.pm
/usr/lib/monitorix/hptemp.pm
/usr/lib/monitorix/icecast.pm
/usr/lib/monitorix/int.pm
/usr/lib/monitorix/ipmi.pm
/usr/lib/monitorix/kern.pm
/usr/lib/monitorix/libvirt.pm
/usr/lib/monitorix/lighttpd.pm
/usr/lib/monitorix/lmsens.pm
/usr/lib/monitorix/mail.pm
/usr/lib/monitorix/memcached.pm
/usr/lib/monitorix/mongodb.pm
/usr/lib/monitorix/mysql.pm
/usr/lib/monitorix/net.pm
/usr/lib/monitorix/netstat.pm
/usr/lib/monitorix/nfsc.pm
/usr/lib/monitorix/nfss.pm
/usr/lib/monitorix/nginx.pm
/usr/lib/monitorix/ntp.pm
/usr/lib/monitorix/nut.pm
/usr/lib/monitorix/nvidia.pm
/usr/lib/monitorix/pagespeed.pm
/usr/lib/monitorix/pgsql.pm
/usr/lib/monitorix/phpapc.pm
/usr/lib/monitorix/phpfpm.pm
/usr/lib/monitorix/port.pm
/usr/lib/monitorix/proc.pm
/usr/lib/monitorix/process.pm
/usr/lib/monitorix/raspberrypi.pm
/usr/lib/monitorix/redis.pm
/usr/lib/monitorix/serv.pm
/usr/lib/monitorix/squid.pm
/usr/lib/monitorix/system.pm
/usr/lib/monitorix/tc.pm
/usr/lib/monitorix/tinyproxy.pm
/usr/lib/monitorix/traffacct.pm
/usr/lib/monitorix/unbound.pm
/usr/lib/monitorix/user.pm
/usr/lib/monitorix/varnish.pm
/usr/lib/monitorix/verlihub.pm
/usr/lib/monitorix/wowza.pm
/usr/lib/monitorix/zfs.pm
/usr/lib/systemd/system/monitorix.service
/usr/share/doc/monitorix
/usr/share/doc/monitorix/COPYING
/usr/share/doc/monitorix/Changes
/usr/share/doc/monitorix/README
/usr/share/doc/monitorix/README.nginx
/usr/share/doc/monitorix/htpasswd.pl
/usr/share/doc/monitorix/monitorix-alert.sh
/usr/share/doc/monitorix/monitorix-apache.conf
/usr/share/doc/monitorix/monitorix-lighttpd.conf
/usr/share/man/man5/monitorix.conf.5.gz
/usr/share/man/man8/monitorix.8.gz
/var/lib/monitorix
/var/lib/monitorix/reports
/var/lib/monitorix/reports/ca.html
/var/lib/monitorix/reports/de.html
/var/lib/monitorix/reports/en.html
/var/lib/monitorix/reports/fr.html
/var/lib/monitorix/reports/it.html
/var/lib/monitorix/reports/nl_NL.html
/var/lib/monitorix/reports/pl.html
/var/lib/monitorix/reports/sk.html
/var/lib/monitorix/reports/zh_CN.html
/var/lib/monitorix/usage
/var/lib/monitorix/www
/var/lib/monitorix/www/cgi
/var/lib/monitorix/www/cgi/monitorix.cgi
/var/lib/monitorix/www/css
/var/lib/monitorix/www/css/black.css
/var/lib/monitorix/www/css/white.css
/var/lib/monitorix/www/imgs
/var/lib/monitorix/www/logo_bot.png
/var/lib/monitorix/www/logo_top.png
/var/lib/monitorix/www/monitorixico.png
References
Summary
In this tutorial we learn how to install monitorix
on CentOS 8 using yum and dnf.