• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System CentOS

How to Monitor Ports and Services with MonitorIX on CentOS6

How VPS by How VPS
October 1, 2019
in CentOS
0
0
SHARES
20
VIEWS
Share on FacebookShare on Twitter

Contents

  1. MonitorIX
  2. What is MonitorIX?
  3. What can I monitor with it?
  4. 1. Required Packages
  5. 2. Install MonitorIX
  6. Defining Custom Ports to Monitor
  7. Want to contribute?


MonitorIX

This article will go over the steps on how to install MonitorIX and configure it to log a custom port, in this case the Minecraft port (25565).

MonitorIX can be used to monitor traffic and system usage to help diagnose problems or simply to view the systems performance.

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 can be used on embedded devices as well.

What can I monitor with it?

MonitorIX can be used to monitor anything from mail statistics, disk usage, hardware temperatures to current traffic on your MySQL or custom defined port.

Follow the steps below to install MonitorIX on CentOS 6.

1. Required Packages

yum install rrdtool rrdtool-perl perl-libwww-perl perl-MailTools perl-MIME-Lite perl-CGI perl-DBI perl-XML-Simple perl-Config-General perl-HTTP-Server-Simple perl-IO-Socket-SSL

Note: if you are unable to install some packages, you may have to enable to EPEL repo:

32-Bit
    wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

64-Bit
    wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm -ivh epel-release-6-8.noarch.rpm

Then re-try the installation

2. Install MonitorIX

rpm -ivh http://www.monitorix.org/monitorix-3.6.0-1.noarch.rpm

Note: be sure to check the MonitorIX Downloads page to see if there are new versions

After installation, you can start MonitorIX with

service monitorix start

After installation you can view the graphs at http://YOURSERVER.DOMAIN:8080/monitorix/ or http://YOURSERVERIP:8080/monitorix/

Defining Custom Ports to Monitor

nano /etc/monitorix/monitorix.conf

By reading through the config, you can change settings such as titles, the port in which MonitorIX runs on, enabling certain graphs under <graph_enable> and so much more.

Here is an example of the <port> section to monitor traffic on the Minecraft port (25565):

 PORT graph
 -----------------------------------------------------------------------------
<port>
        max = 12
        rule = 24000
        list = 25, 21, 80, 22, 110, 139, 3306, 53, 25565, 25565
        <desc>
                25      = SMTP,    tcp, in, 0, 1000
                21      = FTP,     tcp, in, 0, 1000
                80      = HTTP,    tcp, in, 0, 1000
                22      = SSH,     tcp, in, 0, 1000
                110     = POP3,    tcp, in, 0, 1000
                139     = NETBIOS, tcp, in, 0, 1000
                3306    = MYSQL,   tcp, in, 0, 1000
                53      = DNS,     udp, in, 0, 1000
                25565   = MINECRAFT,    tcp, in, 0, 1000
        </desc>
        graphs_per_row = 3
</port>

By changing the max and adding/changing a port on the list = section you can add a new graph to the <desc> section. Make sure you close the document with CTRL+X and then Y to save, followed by ENTER.

Now you can restart the service

service monitorix restart

and view your newly monitored port.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Installing Bolt CMS on FreeBSD 12

Next Post

Install Rancher on CentOS 7

Next Post

Install Rancher on CentOS 7

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet