Monitor a host from a Zabbix Agent (ping / ICMP)

Monitoring my Raspberry Pi network behind NAT is easy using OpenVPN and Zabbix agent/server.

In a few cases, I need to monitor hosts without any possibilities to install OpenVPN and Zabbix agent on it (switchs, routers, wemos, arduinos…).


Continue reading Monitor a host from a Zabbix Agent (ping / ICMP)

Monitor a Raspberry Pi using Zabbix Agent on Raspbian

Once the server is ready, we can start to configure our agents.

Install the zabbix-agent :

Edit the configuration file :

Continue reading Monitor a Raspberry Pi using Zabbix Agent on Raspbian

Raspberry pi backup using Rsync server and OpenVPN

1. Server setup

1.1 Initial setup

Initial steps :
OpenVPN server
OpenVPN client
Rsync server

Then we are ready for this step !

1.2 Directories

Create folders for our daily backups for “bart” :

Continue reading Raspberry pi backup using Rsync server and OpenVPN

Rsync server on Debian


Create/edit the Rsync server configuration file :

Here is my configuration file:

Continue reading Rsync server on Debian

Secure http traffic with Let’s Encrypt on Debian

Configuring HTTPS on debian with Nginx and Let’s Encrypt is now really easy.

Let’s install required software :

Then start the configuration process :

Continue reading Secure http traffic with Let’s Encrypt on Debian

Zabbix server on Debian

1. Installation

2. Configuration

Continue reading Zabbix server on Debian

Zabbix agent : monitor Debian updates

Enable periodic updates

Edit the file:

And check that it as follow:

Zabbix agent configuration

Continue reading Zabbix agent : monitor Debian updates

IPsec XAuth VPN server on Raspberry Pi behind a NAT

The goal is to setup a secured tunnel to allow road warriors to securely access our home LAN with Android native client.

1. Software installation

Install strongswan IPsec server :

Continue reading IPsec XAuth VPN server on Raspberry Pi behind a NAT

Pre-configure Wifi on a headless Raspberry Pi Zero

After setting up the OS on the memory card, you should have 2 partitions mounted from your memory card :
– Boot partition
– Root partition

On the root partition, edit the wpa supplicant configuration file :

And add the following lines at the end of the file :

Adjust the SSID and password, and you’re done.

Synology : Mount permanently SMB shares

1. Keep your credentials safe

Create a file for your credentials in your home folder :

Keep it private :

Then fill it :

Using the following content :

Continue reading Synology : Mount permanently SMB shares