Use Cron to on a schedule query as below and output the results to a log file
: memsql -h localhost -u user --password=YourPasswordHere -D INFORMATION_SCHEMA -e “SELECT * from INFORMATION_SCHEMA.MV_BACKUP_HISTORY order by END_TIMESTAMP desc LIMIT 1;” >> /tmp/cron_job.log
We use Zabbix as our main monitoring tool here, so with Zabbix you can set up an active agent on device to regularly check a log/text so we have it check for ‘success’ vfs.file.regmatch[/tmp/cron_job.log,Success] if it finds su
then set up a trigger to read the result (it’ll either be a 1 if it finds the word or a 0 if it does not) so you can tailor the trigger use the log file to periodically check that file and flag.