this is probably more a question to the seafile experts using a real-time-backup server.
I want to add the real-time backup server to a monitoring tool like zabbix or nagios. How do you monitor the real-time-backup server?
# ./seaf-backup-cmd.sh status Total number of libraries: xxx Number of synchronized libraries: xxx Number of libraries waiting for sync: xxx Number of libraries syncing: xxx Number of libraries failed to sync: xxx List of syncing libraries: xxx List of libraries failed to sync: xxx
Do you use the ./seaf-backup-cmd.sh status? What do you validate?
- $? == 0 ?
- Number of libraries failed to sync > 0?
Or do you simply check that the seafile process is running?
I am looking forward to your feedback.