1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/ctdb/config/events/legacy
Martin Schwenke 5b7d17d44d ctdb-scripts: Add service_stats_command variable to NFS checks
When monitoring an RPC service, the rpcinfo command might time out
even though the service is making progress.  In this case, it is just
slow, so counting the timeout as a failure and potentially restarting
the service will not help.  The problem is determining if a service is
making progress.

Add a new NFS checks service_stats_command.  This command is intended
to run a statistics command.  The output is naively compared using
cmp(1).  If the output changes then rpcinfo failures are converted to
successes.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2024-06-25 03:16:37 +00:00
..
00.ctdb.script ctdb-scripts: Move ctdb.tdb attach to statd-callout 2024-05-30 11:42:30 +00:00
01.reclock.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
05.system.script ctdb-scripts: Avoid ShellCheck warnings SC2317, SC2086 2023-07-05 11:18:37 +00:00
10.interface.script ctdb-scripts: Add caching function for public IPs 2024-05-30 11:42:30 +00:00
11.natgw.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
11.routing.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
13.per_ip_routing.script ctdb-scripts: Avoid ShellCheck warning SC2295 2022-07-22 16:09:31 +00:00
20.multipathd.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
31.clamd.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
40.vsftpd.script ctdb-scripts: Convert 40.vsftpd to use threshold-based fail counting 2023-10-03 04:53:38 +00:00
41.httpd.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
47.samba-dcerpcd.script ctdb/events: add 47.samba-dcerpcd.script 2024-02-13 20:02:31 +00:00
48.netbios.script ctdb/events: use 'service "$CTDB_SERVICE_NMB" status' in 48.netbios.script 2024-02-13 20:02:31 +00:00
49.winbind.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
50.samba.script ctdb-scripts: Do not de-duplicate the interfaces list 2024-04-18 09:08:34 +00:00
60.nfs.script ctdb-scripts: Add service_stats_command variable to NFS checks 2024-06-25 03:16:37 +00:00
70.iscsi.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00
91.lvs.script ctdb-scripts: Avoid ShellCheck warning SC2164 2022-07-22 06:38:32 +00:00