$excludes=array("/server1/i", "/client\-pc/i");
inital relase
This scripts is written for CheckMK. It uses the SQLite Databases to get the job results for the Synology Active Backups. Tested on:
cd /volume1
wget https://raw.githubusercontent.com/righter83/checkmk-synology-activebackup/main/check_ab.php
chmod +x check_ab.php
/volume1/check_ab.php
There is also a check inside which checks if the job was running in a specific time window. If you run a job daily you should adjust the config variable runtime to 86500 -> a little bit higher as one day. You can also disable this check if you set the runtimecheck variable to False