[Bcfg2] On surveille print_status.py dans monit.

This commit is contained in:
Sylvain Boilard 2013-04-20 17:17:21 +02:00
parent f9e1f5d23f
commit 00b5dcfb56

View file

@ -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()