Friday, October 16, 2020

Network optimization: monitor, analyze, identify and correct errors

Their repository is hosted on GitHub under MIT license and they maintain an online demo of which I show you a screenshot below linux system administrator roles and responsibilities.

herramientas de monitoreo web 4

Legend: Web monitoring tools: “Linux Dash” basic information

I consider it to have a very correct grouping: general condition, basic information (shown above), network performance, accounts and applications (both commons and databases, etc.). At the same time, they contain modules in an array, which have a search field. Look for a survey with the letter "p" in common applications:

herramientas de monitoreo web 5

Caption: ”Linux Dash” common applications

The information you will get is real time, but it does not save historical information or alerts, it only contains the essentials. In short, if you consider yourself to be one of Leonidas' soldiers in the historical film "The 300 Spartans" (the one from 1962), you will surely feel at ease with this web monitoring tool.

eZ Server Monitor

With completely free license, GNU GPL3, written for GNU / Linux and with the possibility of incorporating visual themes, because as you will see it displays all at once on one table (see the same boredom everyday humans):

herramientas de monitoreo web 6

Legend: eZ Server Monitor

You will be able to know the state of the services according to the state of each port (do not forget to add the 41121 of the Pandora FMS Tentacle protocol , if you have a software agent there), connectivity test with ping, memory or last logged in users, among other values. It is also very light. On YouTube with the identifier AW7KMmxJqnM, you can see how to activate a module in a simple Raspberry Pi 3 .

It also has a BASH version for use in a command terminal, if you keep leaning towards Sparta

phpSysInfo

We continue with some really light web monitoring tools and phpSysInfo stands out in two ways: you can use it portable and it also works in the Microsoft Windows® environment. It shares similar characteristics to the previous ones: from here we are interested in the management of network interfaces and their traffic. It is translated into several languages. Here we see it in Simplified Chinese:

herramientas de monitoreo web 7

Legénde: Web monitoring tools: phpSysInfo

statusok

Ok, let's raise the stakes: How about something automated that alerts you via email (or even Slack) if your website is having issues? With the Apache 2.0 license you have statusok, which is also light and quick to configure. You can use your normal mail (but they recommend Gmail) or you can create your own plugins (avizoro for Twitter).

But before you start installing it, wait: it needs a database called InfluxDB and Grafana (both also under free license) to run. I stress that the "difficulty" here is to install and configure the underlying tools. I leave you a screenshot of how they appear when working

herramientas de monitoreo web 8

Selenium

For the second point of external Web supervision, I present to you: the free license Apache, Selenium. It has been in development for years and is written in the Java language. Do you remember I mentioned "user experience" (UX)? Well with Selenium you can create scripts and actions (keystrokes, mouse movements) to simulate that a user interacts with your website and enters and performs transactions. I consider them to be the most complex web monitoring tools on the market, because Selenium has so many components and plugins.

As components we will have an API for various languages ​​such as Python, Ruby, JavaScript, C # and of course Java as well. As plugins, you can use InternetExplorerDriver and compile with Visual Studio 2008® and thus use it in environments with Microsoft Windows®.

But Selenium is complex. Very complex. I explain quickly:

First you need to have, of course, a development environment called Selenium IDE.

Then install Selenium Remote Control (or simply Selenium RC) to receive requests for your instructions to perform transactions from your virtual user.

But, I inform you that this tool has been discontinued. So why do I recommend it? Because it's part of classic supervision, which I'll give you more details about later.

Selenium WebDriver becomes the replacement for Selenium RC. To give you an idea, it allows web browsers to be used without a GUI, that is, only using text commands. Of note is the HtmlUnit, a free program also written in Java. Browsers like Google Chrome and Mozilla Firefox have long supported this mode, specially designed for automated testing. It is already part of the standardized recommendations of the WWW Consortium (W3C).

Selenium Grid : How about placing a software agent to test your website on different continents separated by thousands of miles as I mentioned above? Well, with Selenium Grid you can organize nodes, each with an individual WebDriver and for different browsers. I consider it the best web monitoring, as it combines real time and distance with imaginary users in various scenarios. And for 7 thousand users? Two thousand five hundred connecting from Africa, some requesting services, others not, always at the same time? The possibilities are limitless.

No comments:

Post a Comment