I am developing some changes for Tautulli and one that I am building is a monitor for the rclone mount.
To “test” if the rclone mount is alive and well, what I have is a call to rc core/pid, if successful, call rc operations/copyfile to copy a testfile to a temporary location with the srcFS being the mount directory. I then delete the copied file from the temporary location.
If all that succeeds, I consider rclone to be functional.
What do you think? Is this an adequate “monitor” for testing if the rclone mount is alive and well? Any suggestions?
I have it working using basic authentication with the rc-user and rc-pass in the http header. But I don’t yet understand how to use a cert in the request. Anybody have any example code?
Here’s a screen shot. Note the rClone status column in the servers status. If the rclone mount is not functioning, it goes red.
I’m writing this because on one of my VPSs, the vps vendor keeps dorking up fuse somehow and my mount will be down for awhile and I won’t know it.