How To Install Monitorix On Debian 11.3
To Install Monitorix On Debian 11.3
Introduction:
Monitorix is a free, open-source, lightweight system monitoring system designed to monitor as many services and system resources as possible. It has been created for use with production Linux and UNIX servers but is also suitable for embedded devices due to its simplicity.
Installation Procedure:
Step 1: Check the OS version by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Step 2: Check the IP by using the below command
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:82:27:2e brd ff:ff:ff:ff:ff:ff
altname enp2s1
inet 192.168.6.127/23 brd 192.168.7.255 scope global noprefixroute ens33
valid_lft forever preferred_lft forever
inet6 fe80::20bb:a04d:5b24:61a6/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Step 3: Update the APT repository Source List by using the below command
root@linuxhelp:~# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Hit:4 http://repo.mysql.com/apt/debian bullseye InRelease
Get:5 https://packages.sury.org/php bullseye InRelease [6,841 B]
Get:6 http://security.debian.org/debian-security bullseye-security/main Sources [131 kB]
Get:7 https://packages.sury.org/php bullseye/main amd64 Packages [322 kB]
Fetched 544 kB in 2s (304 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Step 4: Install the Monitorix Package by using the below command
root@linuxhelp:~# apt install monitorix -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libcgi-fast-perl libcgi-pm-perl libconfig-general-perl libdbi-perl libdbi1 libemail-date-format-perl
libfcgi-bin libfcgi-perl libfcgi0ldbl libhttp-server-simple-perl libmime-lite-perl libmime-types-perl
librrd8 librrds-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl
libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl rrdtool
Step 5: Restart the Monitorix service by using the below command
root@linuxhelp:~# systemctl restart monitorix
Step 6: Check the status of the Monitorix service by using the below command
root@linuxhelp:~# systemctl status monitorix
● monitorix.service - Monitorix
Loaded: loaded (/lib/systemd/system/monitorix.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-06-26 03:20:08 IST; 7s ago
Docs: man:monitorix(8)
Process: 36905 ExecStart=/usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid $OP>
Main PID: 36906 (/usr/bin/monito)
Tasks: 2 (limit: 6156)
Memory: 72.6M
CPU: 551ms
CGroup: /system.slice/monitorix.service
├─36906 /usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid
└─36958 monitorix-httpd listening on 8080
Jun 26 03:20:08 linuxhelp systemd[1]: Starting Monitorix...
Jun 26 03:20:08 linuxhelp systemd[1]: monitorix.service: Can't open PID file /run/monitorix.pid (yet?) aft>
Jun 26 03:20:08 linuxhelp systemd[1]: Started Monitorix.
Step 6: Ping the Following address as shown in the below image
Ping http://localhost:8080/monitorix

Step 7: This is the Dashboard of the Monitorix

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