shell (4)

Davide Airaghi

Scheduled disks status checks

Having any number of disks connected to your system put you in charge of monitoring their health, acting in the right way when a disk is about to fail is crucial.

Making use of a tool that, when run on a scheduled basis, notify you on screen when a disk is not passing an healthcheck could prevent disaster from occurring.

Let's have a look at a script that could be used as a starting point to create an always on monitoring disk tool.

Continue reading...
Davide Airaghi

Borg - server side archives compacter

If you manage backups using Borg Backup you might end up consuming a lot of space on your storage (local and/or remote), even if you have scheduled "borg prune" sessions, you are using deduplication/compression also at file system level, etc. etc. To make room for…

Continue reading...
Davide Airaghi

Apache Netbeans : download ultima versione disponibile

Dopo aver visto come compilare Apache NetBeans ecco un altro modo per ottenere l'ultima versione di tale software, questa volta già in formato "compilato". Il tutto si riduce a due semplici righe da eseguire nel vostro terminale NBURL=$( wget https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/ -qO- | grep -o -e "NetBeans-dev-incubator-netbeans-linux-.*-on-.*-release.zip\""…

Continue reading...
Davide Airaghi

D-Link DCS-960L controllata tramite RaspberryPi

L'installazione e configurazione di videocamere di sorveglianza o monitoraggio di ambienti domestici (interni e/o esterni) sta diventando sempre più un lavoro alla portata di tutti, quindi perché non spingersi un po' oltre e provare a gestirne una direttamente tramite il proprio RaspberryPi 3 di fiducia e senza usare browser/app?

Nel nostro caso andremo a gestire tramite shell l'attivazione/disattivazione del rilevamento di movimento di una videocamera di monitoraggio con campo visivo a 180°, la  D-Link DCS-960L .

Continue reading...