Monitor Ubuntu Server with Grafana and Prometheus

How to Monitor an Ubuntu Server with Grafana and Prometheus

Grafana is an open source metric analytics & visualization tool which can help us to monitor the system with a nice Dashboard. Installing Grafana Grafana is available in the APT packages repository, however it could not be the latest version, so we’ll use the official Grafana repository. First, it is needed to install the software needed before install Grafana. sudo apt install -y apt-transport-https sudo apt install -y software-properties-common wget Next step is to download the GPG Key, in order to install signed packages:...

November 13, 2022 · 3 min · Yvoictra
Check TCP connectivity with Netcat

How to check TCP connectivity with Netcat

In my diary activities usually I have to check the connectivity between two hosts. In this article I will explain which is the method I use to do it. ...

July 20, 2022 · 3 min · Yvoictra
Test bandwidth with iPerf

How to test bandwidth with iPerf

iPerf is a tool designed to test the bandwidth between two hosts using the network. It is a really simple, powerful CLI which allows generating traffic / load TCP or UDP between 2 hosts. You could use to measure the maximum bandwidth of the network between a client and a server. It can be used to do stress tests of the Ethernet, Wi-Fi or of your ISP. iPerf2 vs iPerf3, what is the difference?...

July 18, 2022 · 7 min · Yvoictra
Speedtest

How to Use Speedtest From Terminal

Speedtest is a great tool to verify the status of your internet connection. With it you could check if your ISP (Internet Service Provider) is providing you the speed you have contracted. Normally you would like to use the Speedtest Website version, but here I am going to explain how to use from a Linux Command Line or Linux Terminal. This tutorial is based of the use of the speedtest-cli GitHub Project....

February 19, 2021 · 3 min · Yvoictra
IPInfo.io Home

Get IP address location info from command line

The Linux command line is a great tool. Today I’ll like to share a method to get Geographical IP information with one command, using curl and the tool of ipinfo.io. It is as easy to use this command: $ curl ipinfo.io/<IP Address> Here you have an example: You will have these parameters: IP City Region Country Loc (Coordinates) Org Postal Timezone If you want to get information about the Public IP Address you use to go to The Internet, you could execute the command this way:...

September 5, 2020 · 1 min · Yvoictra

How to resolve LAN hostnames with Ubuntu

By default, Ubuntu desktop installation will provide DNS resolving configured, however in Ubuntu server installation avahi-daemon (or mdnsresponder) is needed to be installed to provide local LAN DNS resolution. In my case, i found the error “Temporary failure in name resolution” when I tried to resolve a machine of my LAN from Ubuntu. yvoictra@zoar:~$ ping erie.local ping: erie.local: Temporary failure in name resolution To solve this issue, there is no need to install a DNS server in the LAN....

April 19, 2020 · 2 min · Yvoictra
vnStat

How to monitor network traffic on Ubuntu using vnStat

Monitoring network traffic or bandwitdh usage is a must in a SysAdmin tasks. There are many differents tools to manage this monitoring, but one of my favorites is vnStat. The main advantage of this tool is the simplicity of its usage. Installation With Ubuntu, the way to install this tool is with apt. sudo apt install vnstat First steps Once installed, it is important to know which interfaces are going to be monitoried....

April 3, 2020 · 2 min · Yvoictra

How to set up Wi-Fi on Ubuntu running on the Raspberry Pi 4

First step is to check the status of the interfaces. For this, we will use the net-tools package. sudo apt install net-tools Then, we can see the interfaces status ifconfig -a In my case, I have this status of my interface wlan0: ubuntu@ubuntu:~$ ifconfig -a wlan0 wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether dc:a6:32:6c:xx:xx txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0....

April 2, 2020 · 2 min · Yvoictra