Hi, we didn't test with ceph, you can try generic configuration, for example:
check filesystem myfs with path /mydata start program = ... #note: set the start command (mount) stop program = ... #note: set the stop command (umount) It is possible that monit won't be able to collect I/O statistics ... in that case we can implement support for ceph. Best regards, Martin > On 7 Mar 2019, at 15:55, Oscar Segarra <oscar.sega...@gmail.com> wrote: > > Hi, > > I'd like to mount a cephfs filesystem when it is available (just checking > ceph metadata server tcp port). > > And, on poweroff the server , i'd like to force umount the previous cephfs > volume if it is already mounted. This is because if ceph metadata server is > not available, the server loops infinitely trying to umount the cephfs mount > point. > > Can theese two use cases be implemented with monit? > > Thanks a lot in advance > Óscar > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general