Zabbix: restart a Windows service

In this tutorial, I will explain how to restart a Windows service where Zabbix agent is installed. If you followed the tutorial: Zabbix – Restart a service on Ubuntu – Linux, it’s almost identical. To illustrate this tutorial, we will try to restart the Winlogbeat service. As you can see, on several servers the Winlogbeat …

Read more



Zabbix – monitor an Nginx web server

In this new tutorial dedicated to Zabbix, I will explain how to monitor a web server under Nginx in order to have performance metrics. For monitoring, Zabbix agent should be installed on Nginx server, as we will use it to collect statics which will then send to Zabbix monitoring server. Before configuring monitoring at Zabbix …

Read more



Update Ansible on Ubuntu

In a previous tutorial, I explained how to install and use Ansible to execute automatic actions on your Windows and Linux servers. Like all applications, Ansible is regularly updated and so to enjoy the latest features and bug fixes, you should also update Ansible. The “problem” when you go through the official repositories of distributions …

Read more



Install Docker on Ubuntu and Debian

In this tutorial, I will walk you through how to install Docker and Docker Compose on Ubuntu and Debian. Installation of Docker and docker-compose from the official repositories Docker and docker-compose are part of the official repositories of both distributions (Ubuntu and Debian), so just run the two commands below: Installing Docker: Installing docker-compose: The …

Read more



Nginx: get the visitor’s real IP with CloudFlare

In this tutorial, I will explain how to get the real IP address of visitors using CloudFlare services and an Nginx web server. What I will explain to you in this tutorial is valid when Nginx is used as a front-end web server or as a reverse proxy. By default, when using CloudFlare in Proxy …

Read more



Zabbix – Restart a service on Ubuntu – Linux

In this tutorial, I will show you, how to restart a service (systemctl) on Ubuntu/Debian monitor with Zabbix. When we supervise a server and in particular the services, it happens that we want to restart a service which will be “fallen” automatically in order to guarantee a level of service. Restarting a service to fix …

Read more



Crowdsec: send logs to Elasticsearch (ELK)

In this tutorial, I will explain how to send decision logs to Elasticsearch (ELK) so that you can create a dashboard to use the logs. What you need to achieve what described in the tutorial: Crowdsec version 1.2.x or higher an Elasticsearch server or an ELK stack Since version 1.2 of Crowdsec, a notification system …

Read more



Zabbix: monitoring your infrastructure – installation and configuration with Docker

In this tutorial, I will explain how to set up Zabbix with Docker to monitor your server and network infrastructure. For those who follow me regularly, I have long been a fan of PRTG for its “simplicity” but which has certain limits compared to Zabbix. I will come back to it in an article explaining …

Read more



Docker: manage your containers with Portainer.io

In this tutorial, I will explain how to manage your Docker containers with Portainer. Portainer is an application that runs under Docker and will allow you to have a graphical interface (Web) to manage your containers under Docker. With Portainer you will be able to: Create / Modify / Delete containers Administrators your containers (SSH …

Read more



Crowdsec: protecting Windows servers

In a previous tutorial, I explained how to protect your Linux servers with Crowdsec in order to block “malicious” traffic. For almost 2 months now, the Crowdsec version has been available for Windows. If you are not yet familiar with Crowdsec, here is a brief presentation: Crowdsec will analyze different log files (Web, firewall, SSH, …

Read more