From 07f303ad7031ef2dec5a047be946875643efbbcb Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Mon, 3 Nov 2014 01:45:47 +0100 Subject: [PATCH] ajout de check_repo dans monit Histoire d'avoir l'info dans autostatus. --- Python/etc/monit/services | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Python/etc/monit/services b/Python/etc/monit/services index 95143aa..57be62e 100644 --- a/Python/etc/monit/services +++ b/Python/etc/monit/services @@ -285,6 +285,11 @@ service("ups-server", name="upsd", pidf="nut/upsd") +if not has("nfs"): + print """check program git_repos with path "/usr/scripts/utils/check_repos.sh" + if status != 0 then alert +""" + if has('non-vlan-adherent'): vsftpd_ip = admip() else: