Zabbix: monitor a website

In this tutorial, I will explain to you how to monitor a website using Zabbix. The supervision of Internet sites is done using Web scenarios and it is possible to add parameters for example if authentication is necessary, here we will simply keep it as simple as possible. With Zabbix here is the information you …

Read more

Ubuntu Server: configure the time zone

In this tutorial, I will explain how to configure the time zone called timezone on Ubuntu Server. Unlike the Desktop version, when installing the server version of Ubuntu, the time zone is not requested, which means that by default, Ubuntu is in the UTC (+0) time zone. In order to have the logs and scheduled …

Read more

Ubuntu: add a certificate from an internal certificate authority

In this tutorial, I will show you how to add the certificate of an internal CA on an Ubuntu machine. In business, we often use an Enterprise Certification Authority, which allows us to generate certificates for applications, services, computers and users. If you have servers under Ubuntu and you want, for example, to use scripts …

Read more

IIS – Add the X-Forwarded-For field in the logs

In this tutorial, I will explain how to add the X-Forwarded-For field in the IIS logs, in order to retrieve the real IP address of a visitor when a reverse proxy is upstream of the IIS server. On the IIS Web server, open the Internet Services Management console. Select server 1 and click Logging 2. …

Read more

PowerShell: sign scripts

In this tutorial, I will explain how to sign your scripts. Before going into the subject, we will see why signing the scripts, the main reason is security. If your environment (computers + servers) is configured to run only signed scripts and a PowerShell script is launched in a malicious file, it will be neutralized …

Read more

ADFS Proxy: Fix Error 0x8007520c

In this tutorial, I will tell you how to fix error 0x8007520c on an ADFS proxy server. When you open the Remote Access Management Console console, the following page is displayed: This error occurs during a certificate change and the proxy does not have the same fingerprint as the ADFS server. The easiest way to …

Read more

PowerShell: download a file in HTTP, HTTPS

In this tutorial, I will explain how to download a file using PowerShell that is on a server accessible in HTTP or HTTPS. This can be particularly useful when administering a server without an interface, where the only browser installed is Internet Explorer or in a script. There are several solutions to download one using …

Read more

Powershell: create a text file and write in it

In this “small” tutorial, I will explain how to create a text file in Powershell and then how to write content in it. In this tutorial, we will see 4 Powershell Cmdlets: We will start by creating the file. Here the file is created in the current folder, it is possible to put an absolute …

Read more

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