Vnstat is a simple traffic accounting tool.
Vnstati is a utility for visualizing statistics.
Category Archives: Monitoring
Installing and using collectl on Linux
Collectl is a console tool for monitoring system performance and recording results.
Continue reading “Installing and using collectl on Linux”Tracking file changes via Zabbix
I will give an example of checking the integrity of a file through checksum calculation using Zabbix agent.
Continue reading “Tracking file changes via Zabbix”Monitoring current RX and TX network interface buffers in Zabbix
One day after restarting the Ubuntu server, due to the long start of a large number of network interfaces, my script which increased the values of the buffers and also performed other settings was performed ahead of time, respectively, the changes did not apply and I found out about this problem only after 24 hours, so I decided monitor current RX and TX buffers.
Continue reading “Monitoring current RX and TX network interface buffers in Zabbix”How to detect DDOS attacks
I will give examples of viewing the number of active compounds:
Continue reading “How to detect DDOS attacks”nload – monitoring network interface bandwidth
nload – network interface bandwidth monitoring tool with graphical display in the terminal.
Continue reading “nload – monitoring network interface bandwidth”NetData installation
NetData – monitoring system that displays real-time statistics on web panels.
On the test, I will install NetData on Ubuntu 18.04 and Ubuntu 16.04.
Before installing, you can upgrade the system:
sudo apt-get update sudo apt-get upgrade
If Ubuntu version is 18.04 and newer, then NetData is installed with the command:
sudo apt-get install netdata
After installation, the configuration will be in /etc/netdata/, the logs in /var/log/netdata/.
On Ubuntu 16.04 and older, you can install as follows (the installation will be done in /opt/netdata/):
sudo bash <(curl -Ss https://my-netdata.io/kickstart-static64.sh)
Restart NetData can command:
sudo systemctl restart netdata
View status:
sudo systemctl status netdata sudo ps ax | grep netdata
After installing NetData, you can immediately open it in the browser http://HOST:19999
I recommend to immediately restrict access to the tcp port 19999, for example through iptables.
Zabbix notifications by phone via Asterisk
One night at the station, the air conditioners turned off and the temperature started to rise, naturally, I received email notifications on the phone, but since it was night, I only saw them in the morning, so it was necessary for such an emergency to quickly make the possibility of phone call notifications.
Continue reading “Zabbix notifications by phone via Asterisk”Dnstop – monitoring of requests to the DNS server
Dnstop allows you to make a list of hosts that most send requests to the DNS server, so you can detect viruses on the network and understand who is attacking.
Continue reading “Dnstop – monitoring of requests to the DNS server”Installing Webalizer
Webalizer – a program for reporting and statistics on log files.
Let’s say there is an installed Apache2 web server, for example, as I described in this article – Installing and Configuring the Apache2 Web Server