From c300dbe453e3835a0e0c759d915b84706db14489 Mon Sep 17 00:00:00 2001 From: Michele Tartara <mtartara@google.com> Date: Mon, 13 May 2013 14:05:08 +0000 Subject: [PATCH] Add MonD to the watcher The monitoring daemon should always be alive, therefore it's added to the watcher. Signed-off-by: Michele Tartara <mtartara@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/watcher/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/watcher/__init__.py b/lib/watcher/__init__.py index a4fb16ed3..801d64047 100644 --- a/lib/watcher/__init__.py +++ b/lib/watcher/__init__.py @@ -96,6 +96,10 @@ def StartNodeDaemons(): # start confd as well. On non candidates it will be in disabled mode. if constants.ENABLE_CONFD: utils.EnsureDaemon(constants.CONFD) + # start mond as well: all nodes need monitoring + if constants.ENABLE_MOND: + utils.EnsureDaemon(constants.MOND) + def RunWatcherHooks(): -- GitLab