Monitor your Linux server network with these free tools

Monitor your Linux server network with these free tools

Monitor your Linux server network with these free tools

sudo apt install iftop

Once installed, we can execute it simply by putting in the terminal "Sudo Iphtop", it needs superusutory permits to execute, otherwise it will tell us that the order does not find.

When closing the program, we can see the interface that has monitored, the IP address and the MAC address:

bron@bron-debian:~$ sudo iftop interface: ens33 IP address is: 192.168.231.130 MAC address is: 00:0c:29:12:1e:8d

Some of the options we have available when executing this program, is that we can not solve the IP addresses, not convert the ports of ports into services, and many other options available such as listening to a certain interface, showing the bandwidthIn bytes instead of bits, show only incoming and outgoing IPv4 or IPV6 etc..

As you have seen, this tool is really useful and will allow us to know everything that is happening in the local network of our server easily and quickly.

Vstat

Vstat is a network monitor that is included, by default, in most Linux distribution.This program allows us to obtain real time control over the traffic sent and received in a period of time, chosen by the user.

To install this tool we must execute the following order in a terminal:

sudo apt install vnstat

If we install this tool and execute it immediate.Regarding the configuration options of this program, we will have the possibility of consulting a database, showing hours, days, months, weeks, the top of the last 10 days, updating the database, calculating traffic and many more optionsavailable.

If we execute "man vonstat" we can see the rest of the configuration options that we have available with this complete program, being able to export all the information in XML format and even JSON, in addition, we will have the possibility of showing the statistics of an interface or several of several jointly.

IPtraf

This application will provide us with a lot of information at the network level, it will allow usinstall it through official repositories. To install this tool we must execute the following order in a terminal:

sudo apt install iptraf

To execute this tool, we will have to execute the "IPTRAF-NG" order with superusutory permits.Once we have done it, we will get a blue menu with different visualization and configuration options.We can select the following options:

If we select the first option with the keyboard, it will tell us if we want to choose all the interfaces or only one of them, in this way, we can filter the IP traffic through physical interface.

Next, we will get a monitoring system for all the network connections that we are currently doing, we can see the type of package, IP address of origin and destination, as well as the physical interface.

We can also see the statistics of all the network interfaces of our server, packages received and sent, as well as real -time activity.

Monitoriza la red de tu servidor Linux con estas herramientas gratis

If we want to see more detailed statistics from one or more interfaces, we can also see it in the corresponding section.Here we can see the incoming, outgoing packages, of different types of traffic (TCP, UDP, ICMP etc.) and much more.

We can also configure filters, both for package size and by Port TCP or UDP.

Finally, in the "Configure" section we will have the possibility of configuring a large amount of advanced parameters.

As you have seen, this tool is one of the most complete that currently exists to monitor the network of our server with Linux operating system.

NLOAD

This tool is capable of drawing in ASCII mode a graph with the accumulated consumption of the network, we can also see the current incoming speed, the average, minimum, maximum and the TTL.It is a very simple but quite useful tool that will provide us with bandwidth information that we currently have on the network.

To install this tool we must execute the following order in a terminal:

sudo apt install iptraf

To execute this tool, we will have to execute the order "NLOAD" with superusutory permits.

As for the available configuration options, we can determine the time interval, select the measurement type (bit/s, MB/S etc..), and other basic configurations regarding graphics in ASCII.

As you have seen, although it is a very simple tool, we are sure that it will be very useful to you.

DSTAT

A somewhat less known monitor than the previous ones, but is also very useful.This tool serves to generate statistics for the use of the operating system, both at CPU, disc, RAM memory, as well as the local network.In fact, we may or may not enable the state of the network and even choose the interfaces. To install this tool we must execute the following order in a terminal:

sudo apt install dstat

To execute this tool, we will have to execute the "dstat" order with superusutory permits.

Regarding the configuration options, if we execute the order "DSTAT -H" we can access all the available options.

As you have seen, we can easily and quickly see the status of different parts of our operating system, and not just the network.

BWM-NG

This tool is very simple, we can obtain information from all network interfaces interactively, and we can even export it to a certain format to later consult it more easily on another device. To install this tool we must execute the following order in a terminal:

sudo apt install bwm-ng

To execute this tool, we will have to execute the "BWM-NG" order with superuscary permits.

If we press the "H" key, the aid will come out and we can configure different parameters easily and quickly.

As you have seen, it is a much simpler tool than iPtraf, but it is also quite useful.

TCPTRACK

Although it is a fairly unknown application, it shows all the consumption data of our connection. To install this tool we must execute the following order in a terminal:

sudo apt install tcptrack

To execute this tool, we will have to execute the "TCPTRACK" order with superusutory permits.

In this case we will have to execute the order together with the interface to be monitored, that is to say "tcptrack -i ess33" for example.

Speedometer

A network monitoring program and packages that are sent and receive that, in addition, allows internet speed tests. To install this tool we must execute the following order in a terminal:

sudo apt install speedometer

To execute this tool, we will have to execute the "Speedometer" order with Superusual Permits.

Ipband

An IP traffic monitor aimed at obtaining all connection data. To install this tool we must execute the following order in a terminal:

sudo apt install ipband

To execute this tool, we will have to execute the order "Ipband" with superuscary permits and show us the help and everything we can do with this free program.

As you have seen, we have dozens of tools to monitor the network of our server with Linux operating system, our favorite is iPtraf because it provides us with a lot of information.

Now let's see all network monitoring tools with user graphic interface.

User graphical interface monitoring tools

Most monitoring tools for LINUX servers with a graphical user interface are based on collecting information through the SNMP protocol, to later "draw" very simple graphics to interpret.Therefore, we will meet a lot of tools that perform this task.

MRTG

This application, although it is already obsolete, continues to collect the connection data through the SNMP protocol and draw very simple graphics to interpret. To install this tool we must execute the following order in a terminal:

sudo apt install mrtg

To execute this tool, we will have to execute the order "Ipband" with superuscary permits and show us the help and everything we can do with this free program.

We can get more information about this application and download packages from the following link.

Collectd

One of the most complete tools to monitor a network from Linux.It allows monitoring many aspects of a network, as well as increasing its functions through plugins.It has a client/server function to be able to monitor and analyze point -to -point networks.This program is responsible for collecting metrics of the system performance and application periodically, storing all the information in RRD files for later interpretation.

Collectd is able to collect different metrics from various sources, such as the operating system, applications, registration files, external devices etc..to later analyze it and even predict a future load of the operating system.If you want quite intuitive and well done graphics, this program will also serve you.

We can get more information about this application and download packages from the following link.

Graphite

Allows you to draw any type of traffic from any system aspect.The necessary data will be passed through some script with a monitoring program since, by default, Graphite does not monitor the network alone, that is, it only shows the information collected by other monitoring software.

We can get more information about this application and download packages from the following link.

Cacti

Cacti is a complete tool that allows us to draw graphs based on RRD information stored in the operating system.Cacti is a very complete graphical interface of RRDTool, which stores all the necessary information to later create graphics and complete them with information from a MySQL database.The entire graphical interface of Cacti is designed in PHP, in addition, it also has SNMP support for users who like to create graphics with the popular MRTG program that we have seen before.

We can get more information about this application and download packages from the following link.

Munin

Munin is a complete network monitoring system for Linux operating systems, this tool is not only responsible for showing all Rrdtool information, but also responsible for collecting all the information.What we like most about Munin is the large number of plugins we have to monitor different aspects of operating systems, in addition, it has a client/server function to monitor and analyze point to point.

Munin's graphical user interface is really clean and intuitive, ideal for us to show us only what interests us and nothing else, in addition, we can filter and order information for hours, days, weeks, months and also years.

We can get more information about this application and download packages from the following link.

Bandwidthd

Bandwidthd is a very simple tool that will allow us.The graphs that will show us are also very simple, but if we need this "simplicity" the tool will serve us perfectly since it consumes very few resources.

We can get more information about this application and download packages from the following link.

As you have seen, we have a lot of alternatives to monitor the network in our Linux -based operating system, both by console and through graphical user interface where we can see really intuitive and well -designed graphics.

Related Articles

The Peruvian - Supreme Decree that approves the Regulation of Law No. 15251, modified by Law No. 30699, Law that modifies Article 1 of Law No. 15251, law created by the Dental College of Peru and various articles of theLaw No. 29016 - Decree S
The Peruvian - Supreme Decree that approves the Regulation of Law No. 15251, modified by Law No. 30699, Law that modifies Article 1 of Law No. 15251, law created by the Dental College of Peru and various articles of theLaw No. 29016 - Decree S
AVM FRITZ!Box 4060: Tri-band WIFi 6 router and 2.5G port review
AVM FRITZ!Box 4060: Tri-band WIFi 6 router and 2.5G port review
Where to place and how to correctly configure a WiFi repeater
Where to place and how to correctly configure a WiFi repeater
Maduro's "judicial revolution" - El Carabobeño
Maduro's "judicial revolution" - El Carabobeño