From: Martin Schwenke Date: Fri, 24 May 2024 01:55:59 +0000 (+1000) Subject: ctdb-scripts: Fail monitoring after 1 x NFS-Ganesha not running X-Git-Tag: tdb-1.4.11~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=707e0ef55b89e328cadd0f4ac3ad33a83039e287;p=thirdparty%2Fsamba.git ctdb-scripts: Fail monitoring after 1 x NFS-Ganesha not running If ganesha.nfsd is gone then a node can't provide an NFS service, so should be marked unhealthy. A later restart may bring it back to health. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/doc/examples/20.nfs_ganesha.check b/ctdb/doc/examples/20.nfs_ganesha.check index 3288f16f93c..b153acaedf9 100644 --- a/ctdb/doc/examples/20.nfs_ganesha.check +++ b/ctdb/doc/examples/20.nfs_ganesha.check @@ -1,6 +1,6 @@ # nfs_ganesha restart_every=2 -unhealthy_after=6 +unhealthy_after=1 service_stop_cmd="$CTDB_NFS_CALLOUT stop nfs" service_start_cmd="$CTDB_NFS_CALLOUT start nfs" service_check_cmd="$CTDB_NFS_CALLOUT check nfs"