• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How To Install Monitorix on Rocky Linux 8.6

  • 00:25 cat /etc/os-release
  • 00:41 dnf install monitorix
  • 01:05 dnf install perl-CGI perl-HTTP-Server-Simple perl-rrdtool perl-Config-General perl-LWP-Protocol-https perl-LWP-Protocol-http10 perl-libwww-perl
  • 01:23 dnf info monitorix
  • 02:04 systemctl status monitorix.service
  • 02:22 netstat -tulpn |grep 8080
  • 02:47 firewall-cmd --add-port=8080/tcp --permanent
{{postValue.id}}

To Install Monitorix On Rocky Linux 8.6

Introduction

Monitorix is an open-source, system monitoring tool that is used to monitor several services and system resources web interface to display the information as graphs.

Installation Procedure:

Step 1: Check the installed version of OS by using the below command

[root@localhost ~]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"

Step 2: Now install the monitorix by using the below command

[root@localhost ~]# dnf install monitorix
Last metadata expiration check: 19:09:03 ago on Mon 27 Jun 2022 03:32:12 AM EDT.
Dependencies resolved.
=============================================================================================================
 Package                    Architecture  Version                                     Repository        Size
=============================================================================================================
Installing:
 monitorix                  noarch        3.14.0-1.el8                                epel             275 k

Installing dependencies:
 mariadb-connector-c        x86_64        3.1.11-2.el8_3                              appstream        199 k
 perl-DBD-MySQL             x86_64        4.046-3.module+el8.6.0+904+ef468285         appstream        155 k
Enabling module streams:
 perl-DBD-MySQL                           4.046                                                             

Transaction Summary

Step 3: Now Install other required Perl Dependencies by using the below command.

[root@localhost ~]# dnf install perl-CGI perl-HTTP-Server-Simple perl-rrdtool perl-Config-General perl-LWP-Protocol-https perl-LWP-Protocol-http10 perl-libwww-perl
Last metadata expiration check: 19:09:31 ago on Mon 27 Jun 2022 03:32:12 AM EDT.
Dependencies resolved.
=============================================================================================================
 Package                       Arch        Version                                      Repository      Size
=============================================================================================================
Installing:
 perl-CGI                      noarch      4.38-2.el8                                   appstream      207 k


 perl-Config-General           noarch      2.63-10.el8                                  epel            80 k
 perl-HTTP-Server-Simple       noarch      0.52-10.el8                                  epel            37 k
 perl-LWP-Protocol-http10      noarch      6.03-21.el8                                  epel            16 k
 perl-LWP-Protocol-https       noarch      6.07-4.module+el8.6.0+965+850557f9           appstream       16 k
 perl-libwww-perl              noarch      6.34-1.module+el8.6.0+965+850557f9           appstream      211 k
 rrdtool-perl                  x86_64      1.7.0-16.el8_4                               appstream       60 k

Step 4: Now check the information of monitorix by using the below command

[root@localhost ~]# dnf info monitorix
Last metadata expiration check: 19:09:56 ago on Mon 27 Jun 2022 03:32:12 AM EDT.
Installed Packages
Name         : monitorix
Version      : 3.14.0
Release      : 1.el8
Architecture : noarch
Size         : 2.2 M
Source       : monitorix-3.14.0-1.el8.src.rpm
Repository   : @System
From repo    : epel
Summary      : A free, open source, lightweight system monitoring tool
URL          : http://www.monitorix.org
License      : GPLv2+
Description  : 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.

Step 5: Now start the services of monitorix by using the below command

[root@localhost ~]# systemctl start monitorix

Step 6: Now Enable the services of monitorix by using the below command

[root@localhost ~]# systemctl enable monitorix.service 
Created symlink /etc/systemd/system/multi-user.target.wants/monitorix.service → /usr/lib/systemd/system/monitorix.service.systemctl status monitorix

Step 7: Check the status of monitorix by using the below command

[root@localhost ~]# systemctl status monitorix.service 
● monitorix.service - Monitorix
   Loaded: loaded (/usr/lib/systemd/system/monitorix.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2022-06-27 22:42:23 EDT; 32s ago
     Docs: man:monitorix(8)

 Main PID: 48648 (/usr/bin/monito)
    Tasks: 2 (limit: 17274)
   Memory: 76.6M

Step 8: Now check listening monitorix port by using the below command

[root@localhost ~]# netstat -tulpn |grep 8080
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      48712/monitorix-http

Step 9: Now add the firewall for monitorix Service by using the below command

[root@localhost ~]# firewall-cmd --add-port=8080/tcp --permanent 
success

Step 10: Now reload the firewall by using the below command

[root@localhost ~]# firewall-cmd --reload 
Success

Step 11 : Check the system ip address by using the below command

[root@localhost ~]# ip addr
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 fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:b8:f7:db brd ff:ff:ff:ff:ff:ff
    inet 192.168.6.122/23 brd 192.168.7.255 scope global noprefixroute ens33
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:feb8:f7db/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Step 12: Now go to the browser and search for monitorix as shown in the below image snap 1

Step 13: This is the welcome page of monitorix snap 2

Step 14: Here you can monitor various services and system resources as shown in the below images snap 3

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Monitorix on Rocky Linux 8.6.Your feedback is much welcome.

Tags:
muhammad
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

1. Where can I get Monitorix?

A

It can be freely obtained from its official website, but you should verify first if your system already provides a ready-to-install package of Monitorix.

Q

2. Who is the author of Monitorix?

A

Jordi Sanfeliu is the author of Monitorix.

Q

3. Is there a mailing list for Monitorix?

A

Yes. There is a mailing list for general discussion.

Q

4. What is the proper way to configure Monitorix?

A

To avoid having to update the main configuration file monitorix.conf on every new release, the best way to configure Monitorix is to create your own configuration file in conf.d/ directory (e.g. conf.d/local.conf). This extra configuration file will be loaded right after the main configuration file, so you only need to introduce your changes.

Q

5. Which version of Monitorix we install on this tutorial?

A

The installed version of Monitorix is v3.14.0.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.