Grafana is a time series analytics tool to measure and visualize a whole array of metrics. The most common usage is in datacenter and enterprise environments, but it can also be used for industrial sensors, home automation, weather and deployment control. An open source software, Grafana is currently the leading tool for sysadmins and devops that want to integrate an extremely versatile analytics tool into their development and production environment. With alerts, plugins, dashboards and sharing options between teams, you can even integrate Grafana with 3rd party tools where you can output your data, such as Slack, Webhook or… read more +
Prometheus is a server monitoring service. It collects metrics (values) from configured target servers at certain preset intervals, evaluates certain rules and expressions, displays results, and can trigger alerts when certain conditions become true (excessive CPU usage, system run out of memory, run out of space on disk, etc.). Prometheus raises, however, monitoring on a much more complex level than Pinguzo and Netdata.
I must note that although I have used CentOS 7 for both the Prometheus server and the monitoring servers (nodes), the steps below can be followed for installing and configuring Prometheus on any Linux distribution with systemd.
In… read more +
Htop is an interactive and dynamic application for real-time process monitoring on Linux/Unix systems, being the alternative to the familiar top command, pre-installed on most Linux distributions.
Htop has several funtions and features that are not available with the top command:
• The htop can be scrolled vertically to view all processes, but also horizontally for full view of the control panel lines;
• it starts much faster than the top because it does not wait to take the data before launch;
• in htop multiple processes can be closed at the same time, without introducing their PID (identification number);
• it may change… read more +
I installed Ubuntu minimal 16.04 Daily Build and I selected the Xubuntu Minimal Installation option.
The personalization of Xubuntu 16.04 Xenial Xerus
1. Upgrade the system
sudo apt-get update
sudo apt-get upgrade
2. Install additional drivers
Go to Settings – Additional drivers and choose from what is offered; If nothing appears here, you must manually install the video drivers.
3. Install useful tools
sudo apt-get install gksu synaptic gdebi gedit
Synaptic is more useful and better than the classic Software Center. Gedit is a text editor that I like it more than Mousepad (Xubuntu’s default text editor). gksu helps us run graphically some tools as a superuser (for… read more +
The basic settings of a VPS server with CentOS 7 are similar to those in Ubuntu. The steps below will increase server security with CentOS 7. I must specify that all tests and installations from both this article and the following are made on a VPS server purchased from mvps.net but should work smoothly on any VPS server or dedicated with CentOS. At the same time, the system I connect to the server is Linux, but probably the same commands also work for Windows with Putty.
Step 1 – connect as root
The first connection will be made through ssh as… read more +
SMART (Acronym for Self-Monitoring, Analysis and Reporting Technology) can be found on all modern hard drives, allowing for the detection of conditions and the reporting of the times a unit can “fall” permanently.
Smartmontools is a free multiplatform tool that uses the S.M.A.R.T. of hard drives to get informed about their status. With Smartmontools, a user or system administrator can be constantly informed about the imminent hard disk failure.
On Ubuntu or Debian systems, Smartmontools is available in official repositories:
sudo apt-get install smartmontools
It is possible that other important Linux distributions – Arch, Fedora, Suse/openSuse, CentOS/Red Hat, Slackware – to be in… read more +
Bash (Bourne Again Shell) is a superset of the Shell Command Language (SH) that allows for a lighter, more legible syntax that brings improvements. At baseline, a bash command or a bash script receives input data from a terminal, from a file descriptor or from a string, then runs and outputs output data.
Linux distributions often use a classic prompt in the terminal, displaying the user name, hostname, and current directory. After a while, you’re kind of getting bored to see the same thing every time, so you will start thinking of changing and customizing the Linux prompt.
The prompt is… read more +
I think I discovered the simplest backup method for a Ubuntu server which is Systemback. Sure, there is rsync, which does incremental backup, but it is more difficult to restore the server later.
Systemback can back up and restore a Ubuntu-based system; it means it works on both Ubuntu Desktop and Ubuntu Server. I will just limit myself to describing its operation on Ubuntu Server.
Systemback is similar to System Restore from Windows – it creates snapshots (images) of the server which it can later restore with a simple command. It is extremely useful and interesting.
Installing Systemback in Ubuntu Server
A PPA must… read more +
Let’s suppose you are working in the terminal (change permissions, edit configuration files, etc.) and, to save time, you can search directly on Google without leaving the command line. The application for Google searching in the command-line is called Googler. It can be used as a standalone application, or in combination with a text-based web browser (example: Links). Googler is developed in Python and can be found in GitHub. It requires a version of Python greater than 3.3. To check which version of Python you have installed run the command:
Installing Google in Arch Linux
As usual, Arch Linux does… read more +
Speedtest is the most widely used internet speed test tool. In graphic mode, it’s very simple to use. But Speedtest in the terminal? Yes, this is also possible: Linux has unlimited possibilities.
What is speedtest-cli?
The application is written in Python and measures the speed of the internet connection in bidirectional way, using the speedtest.net infrastructure. Speedtest-cli lists servers according to physical distance, allows testing according to the desired server, and gives you the opportunity to show others what speed you have.
How to install speedtest-cli
Most of the times we have found ourselves in the situation where we need to check the… read more +