From 00b5dcfb56af62fc4aabc6befb7bc760af6dc7b2 Mon Sep 17 00:00:00 2001 From: Sylvain Boilard Date: Sat, 20 Apr 2013 17:17:21 +0200 Subject: [PATCH] [Bcfg2] On surveille print_status.py dans monit. --- Python/etc/monit/services | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Python/etc/monit/services b/Python/etc/monit/services index 79f2355..68ca9fb 100644 --- a/Python/etc/monit/services +++ b/Python/etc/monit/services @@ -247,6 +247,12 @@ if hostname in ['routeur']: @ if 5 restarts within 5 cycles then timeout @ +if hostname == 'zamok': + @# print_status + @check file file/var/run/print_status/error.txt with path /var/run/print_status/error.txt + @ if size > 0 for 3 cycles then alert + @ + # on ne monitore pas les disques de canard if hostname in ['canard'] : done()