Monitor network media share on a server

This seems like something fairly simple, but I’m not having luck with searching for an answer.

I want Hassio to monitor the status of a network mount running between a Manjaro Linux server and my QNAP NAS. Hassio is running as a docket container on another Linux server on my home network. So both the Manjaro server and the NAS are external to my hassio machine, but running on the same LAN. The Manjaro server hosts my Plex media server, and the NAS stores all my media. Occasionally the Manjaro server loses its mount pointing to the media share on the NAS.

My thought is that I’d want a sensor in Hass that parsers the outcome of an mount command run every few hours via ssh to the Manjaro server. Whats the best way to do this? Or are there better ways to accomplish it than how I’m thinking?

Thanks!

Dan

I prefer to run this tasks on the monitored server.

1 Like

Never mind. It would help if I read the entire linked post. Got it. Thanks!