Added result logging to syslog in 'check_dbs.sh.