[monit] début de monitoring de gunicorn

Thx to gunicorn-debian et ses fichiers de confs/initscripts bien foutus.
Pour l'instant seuls o2 et routeur sont monitorés. Reste à intégrer
niomniom lorsqu'il sera migré sur wheezy.
This commit is contained in:
Daniel STAN 2013-05-25 17:31:17 +02:00
parent 26116973ab
commit 45114d90f5
4 changed files with 31 additions and 6 deletions

3
Probes/gunicorn-debian Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
# Liste les sites configures pour gunicorn (pour monitoring par ex)
ls /etc/gunicorn.d 2> /dev/null