How to react to a Repair, how to remount storage automatically?

Similar questions have been asked before, but I could not find a suitable answer.

Once in a while I receive a ‘Repair’ that ‘Network Storage Device failed’ from HomeAssistant Supervisor. In this case I would like remount or reboot the NAS to resolve the issue.

I can see the detailed Error Message in the Supervisor-log ERROR (MainThread) [supervisor.mounts.mount] Reloading ha_backup did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-ha_backup.mount for details. and I would like to act on it with an automation (to reboot the NAS).

The problem I don’t see a ‘device’ which I could use as a trigger.

I tried using GLANCES without reliable success.
Is there a way to react (with an automation) to a Supervisor Repair, or Supervisor log entry?

Thanks for your help!