Youtube Ads Blocker 3.0 for Pihole 5.0

The brand new version of Pihole 5.0 has deleted the following files:

gravity.list,black.list,whitelist.txt

And has created for all these data a new SQLite3 database:

/etc/pihole/gravity.db

With this change, all the previous versions to 3.0 of the script that I made to block the YouTube Advertisement, has stopped working. So I have created a new version in order to handle that new SQLite database.

Sigue leyendo “Youtube Ads Blocker 3.0 for Pihole 5.0”

Youtube Ads Blocker 3.0 para Pihole 5.0

La nueva versión de Pihole 5.0 ha eliminado los siguiente ficheros:

gravity.list,black.list,whitelist.txt

Y ha generado para todo esto una pequeña base de datos en SQLite3:

/etc/pihole/gravity.db

Con esto, todas las versiones anteriores a la 3.0 del Script que hice para bloquear anuncios en Youtube, han dejado de funcionar. Por lo que he generado una nueva versión que se conecta contra la pequeña base de datos SQLite y es completamente compatible, realizando el mismo proceso de inserción de subdominios de Googlevideo.

Sigue leyendo “Youtube Ads Blocker 3.0 para Pihole 5.0”

Installing Centreon in Docker on a Raspberry Pi 3

This time I am going to install Centreon in a Docker container. Currently, I have Pi-hole working on my Raspberry and it’s working as DHCP server and DNS. Without Docker, the installation of Centreon it could be have been quite tricky.

In order to install Centreon in Docker I followed the next steps:

  1. Create a Docker file for the installation and configuration of the container.
  2. I did a fork of a script made by Kermith72 the next one: auto_install.
Sigue leyendo “Installing Centreon in Docker on a Raspberry Pi 3”

Bash Script to Block Youtube advertisements in Pi-hole

Image 1. Pi-Hole and Raspberry Pi

I have been using the Raspberry Pi with Pi-hole, and to be honest I could not be happier, Pi-hole has been working with non-stop since then. Nowadays, the only problem i have found is that it is almost impossible to block the Youtube advertisements. So I decide to do a research on this, and found that Google is generating subdomains for each ad with following format:

Sigue leyendo “Bash Script to Block Youtube advertisements in Pi-hole”

Centreon, como enviar alertas usando un BOT de Telegram

He seguido jugando un poco con el Centreon que tengo en un contenedor Docker en mi Raspberry y esta vez he conseguido configurar el envío de notificaciones a través de un bot de Telegram, por que eso de enviar correos es muy aburrido, ¿a que si?, así que venga, vamos a configurarlo con unos sencillos pasos.

Sigue leyendo “Centreon, como enviar alertas usando un BOT de Telegram”