From b580fa48d9f13fe20d00f972eb5b1ba3a80ae7c1 Mon Sep 17 00:00:00 2001 From: chove Date: Tue, 4 Apr 2006 13:28:15 +0200 Subject: [PATCH] on monitore la socket de nscd... faudrait relancer ce script sur tous les serveurs... darcs-hash:20060404112815-4ec08-90be2a32869d20ef109b7df14c0ccbd0944bd630.gz --- monit/generate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monit/generate.py b/monit/generate.py index f53a5b5c..48014199 100755 --- a/monit/generate.py +++ b/monit/generate.py @@ -331,6 +331,7 @@ def file_monitrc(hostname = host) : config += ' start program = "/etc/init.d/nscd start"\n' config += ' stop program = "/etc/init.d/nscd stop"\n' config += ' if 5 restarts within 5 cycles then timeout\n' + config += ' if failed unixsocket /var/run/.nscd_socket then restart\n' config += '\n' # nut - upsmonitor