How to install Monitorix on Ubuntu 22.04
- 00:43 lsb_release -a
- 01:00 apt update
- 01:22 apt install monitorix rrdtool perl libwww-perl libmailtools-perl libmime-lite-perl librrds-perl libdbi-perl libxml-simple-perl libhttp-server-simple-perl libconfig-general-perl libio-socket-s
- 02:30 monitorix -v
- 02:57 systemctl enable --now monitorix
- 03:11 systemctl status monitorix
To Install Monitorix On Ubuntu 22.04
Introduction
Monitorix is an 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 UNIX/Linux servers, but due to its simplicity and small size, many use it on embedded devices as well.
Procedure Steps
Step – 1 : At first, check the Os version
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Step – 2 : Before installing monitorix need to update repository by using following command
root@linuxhelp:~# apt update
Ign:1 http://download.webmin.com/download/repository sarge InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://download.webmin.com/download/repository sarge Release
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:7 https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
105 packages can be upgraded. Run 'apt list --upgradable' to see them.
Step – 3 : Now install monitorix with its dependencies by using following command
root@linuxhelp:~# apt install monitorix rrdtool perl libwww-perl libmailtools-perl libmime-lite-perl librrds-perl libdbi-perl libxml-simple-perl libhttp-server-simple-perl libconfig-general-perl libio-socket-ssl-perl -y
Reading package lists... Done
Get:1 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libconfig-general-perl all 2.63-1 [53.9 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libdbi-perl amd64 1.643-3build3 [741 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libcgi-pm-perl all 4.54-1 [188 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libhttp-server-simple-perl all 0.52-1.1 [23.2 kB]
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Step – 4 : Now check the monitorix version
root@linuxhelp:~# monitorix -v
Monitorix version 3.14.0 (18-Jan-2022)
by Jordi Sanfeliu <jordi@fibranet.cat>
https://www.monitorix.org/
Step – 5 : Then enable monitorix by using following command
root@linuxhelp:~# systemctl enable --now monitorix
Synchronizing state of monitorix.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable monitorix
Step – 6 : After enabling check the status of the monitorix
root@linuxhelp:~# systemctl status monitorix
● monitorix.service - Monitorix
Loaded: loaded (/lib/systemd/system/monitorix.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2024-03-30 08:04:22 IST; 1min 20s ago
Docs: man:monitorix(8)
Main PID: 5532 (/usr/bin/monito)
Tasks: 2 (limit: 4554)
Memory: 78.6M
CPU: 2.719s
CGroup: /system.slice/monitorix.service
├─5532 "/usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid"
└─5595 "monitorix-httpd listening on 8080"
Mar 30 08:04:22 linuxhelp systemd[1]: Starting Monitorix...
Mar 30 08:04:22 linuxhelp systemd[1]: Started Monitorix.
Step – 7 : Now go to the brower and search with the following url http://server-ip:8080/monitorix for accessing monitorix dashboard.

Step – 8 : Then click ok button you will see the server status on the next page

Conclusion :
We have reached the end of this article. In this guide, we have walked you through the steps required to Installation of Monitorix on Ubuntu 22.04. Your feedback is much welcome.
Comments ( 0 )
No comments available