Hello IT-monitoring friends!
I’m using Synology Active Backup both in my home lab and at work for backing up around 100TB of server backups with 1-2 years of retention. The monitoring part is the only lacking side that I can find when it comes to this backup solution as monitoring emails is not exactly optimal.
There’s scripts available for both Zabbix and PRTG that can monitor this, and I suppose anyone with some python skills easily could convert the Zabbix monitor template over too a checkmk plugin. I’m pretty decent at most things, however python is one of those things I hope to put some time into learning when the kids have grown up and left the house and that will probably not happen for the next 15-20 years or so.
So my question is if there’s anyone out there who would find it a fun challenge to make a monitor plugin?
I’ve been looking mostly at this script as it creates two csv files with all the information for listing active backups and their state.
And here’s an example ActiveBackupExport.csv
config_device_id,device_name,status,transfered_bytes,time_start,time_end 28,wic-xdockauto01,2,1200160768,1638226808,1638227657 59,wic-pcns02,2,15269888,1638237616,1638237682 61,wic-ca01,2,1263599616,1638226808,1638227744 62,wic-dc01,2,1815150592,1638226808,1638227817 63,wic-dc02,2,1696661504,1638226808,1638227816
Status value of 1 means in progress, 2 means successfull, 3 means cancelled, 4 means failed, 5 means warning and 8 means partial backup success.
And also an example ActiveBackupHostExport.csv
device_id,host_name,backup_type 28,wic-xdockauto01,1 59,wic-pcns02,1 61,wic-ca01,1 62,wic-dc01,1 63,wic-dc02,1