Is it possible to monitor the completion of DB maintenance?

We've been having issues with DB maintenance lately after we moved our SQL server to a cluster. We've been manually checking the log file located at C:\ProgramData\Solarwinds\Logs\Orion\swdebugMaintenance.log to make sure it's completed, but i'm wondering if there's a better way to do this, perhaps with SAM. I was thinking of just creating a custom powershell monitor and checking if "Database Maintenance Complete" is in the file, but not sure if there's a better way.