change detection.io is a website change tracking system. The tool is free, open source and can even be self-hosted on your NAS. It’s an interesting alternative to Visualping or Watchtower, if you know. Today I offer you this tutorial to install and configure it on your Synology NAS using Docker.
ChangeDetection and Synology
change detection.io is an easy-to-use website change monitoring and detection service. If it detects a change during its monitoring, the tool can notify you via the services of your choice: email, SMS, Discord, Slack, Gotify, Kodi, etc. It is based on the excellent Apprise system! change detection.io is completely free and self-hosted. It works in Python and you can find a lot of information on the official site.
ChangeDetection and Docker
If you use Docker on your NAS, you will find that it is very easy to install and configure. If you have a Synology Docker-enabled box, it’s very simple. It’s operational in 5 minutes!
Install change detection
The first step is to upload the imagegtlmoon/changedetection.io To do this, simply launch the Docker application on the NAS. Then click to register in the left menu. represent in type altered recognition into the search field at the top right (see image below). Then double click on the first link and make sure it is the image dgtlmon/changedetection.io.
As usual, you get the small dialog box to download the latest version of the image (choice Latest).
You wait a few seconds for the image to download. You can check the progress in the left menu picture. Once the download is complete, double click on it to start creating the container. You can leave the default values (bridge as in the image below) and click the button Next
In which General Settings, enter a name for your container. You can also set the resources by setting the processor priority to Low (it’s not a critical or important resource) and you can lower the RAM usage (I specified 128MB).
You click the button Next. For the port setting (there is only one here), I recommend choosing an unused port like 5075 as the local port and leaving 5000 for the container port (see image below).
We continue by pressing the button Next. We will now add a working folder for change detection.
We click the button add folder. You go to the Docker folder of your NAS and click on the button Create a folder. Here is my file name change detection (no, it’s not very original). We push the button OK then Choose and finally Next.
In the path zone we specify /datastore (see picture above) and press the button Next.
Small summary screen and all you have to do is press the button Carried out. It’s over for the installation part. In the second part of the article we will start our site monitoring, configure the frequency of the check and finally generate an alert as soon as a change is detected by the tool.
Monitor a site with ChangeDetection
In your favorite browser, enter your NAS’s IP address followed by port 5075 (if you did the same as me). You should enter something like 192.168.1.100:5075. Once you have validated you should have this page.
You will notice that the interface is in English only. To date, it is not possible to switch it to French. By default, there are already 3 monitored sites. The first 2 (on the capture) are used to test the tool and notifications. The latter monitors the changelog on the changetection.io page. It allows to be notified when an update is available.
Upgrade your Docker container to Synology
Adding recognition to a website is easy. In the area “Add a new change detection monitor” They indicate in the left part the name of the site, for example https://www.cert.ssi.gouv.fr/ (once a security breach is detected) and in the right part the group in which the site must be classified (e.g.: Internet security). If the group does not exist, it will be created automatically. This then makes it possible to classify all sites of the same type (tabs) in one view. Once you press the button watchthis page is monitored.
Now let’s get to the menu THE SETTINGS top right. Make the default settings on the first tab. As you can see here, the tool runs a change analysis every 3 hours. A change is of course possible (weeks, days, hours, minutes, seconds). This setting applies to all websites that you enter. Note that it is possible to change the parameters for each monitored site from the main page (Edit button in front of each site). But here we are at the default settings for the entire system. Be careful not to do too many daily analyzes of the same website, the admin might decide to ban you.
There are other parameters here on this page that I’ll let you discover…
Notifications with ChangeDetection
tab Hints allows them to be configured. It’s good to recognize a change on a website… it’s even better to be notified when it does. As already said, change detection embeds Apprise’s notification system. It is absolutely necessary to go through this page to find the necessary information.
Since I like using email, I used the expression for Infomaniak here:
If, like me, you use special characters in your password, you must enter them in hexadecimal. It’s not bad, but we have no choice. Some examples :
|ASCII characters||HEX match|
If your password is: 4Tynqh+c3# it becomes 4Tynqh%2bc3%23
Don’t forget to save and then press the button Send test notification to test if you get a notification. If you do not receive well, you can view the errors from the button Debug log notification. This was helpful for me to figure out my password isn’t working 😉 Still on the tab Hintsyou can customize the message you receive when a change is detected (notification title, message text, format, etc.).
Well, this tutorial is coming to an end. The tool change detection is simple and effective. If you have any questions or want to share your experience, you can use the comments below.
Thanks Guillaume for the discovery
#Synology #ChangeDetection #NAS #Docker #minutes #Cachem