doc:appunti:linux:sa:monit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:linux:sa:monit [2013/03/29 18:17] – [Configurazione di monit] niccolo | doc:appunti:linux:sa:monit [2016/03/22 12:00] – [Configurazione di monit] niccolo | ||
---|---|---|---|
Line 49: | Line 49: | ||
</ | </ | ||
- | **Attenzione: | + | **Attenzione: |
< | < | ||
Line 62: | Line 62: | ||
</ | </ | ||
- | Ecco quindi una configurazione che insiste più a lungo per riavviare | + | Ecco quindi una configurazione che insiste più a lungo per riavviare |
< | < | ||
Line 68: | Line 68: | ||
start program = "/ | start program = "/ | ||
| | ||
+ | if 4 restarts within 4 cycles then exec "/ | ||
if 10 restarts within 10 cycles then timeout | if 10 restarts within 10 cycles then timeout | ||
... | ... | ||
Line 80: | Line 81: | ||
set mailserver localhost | set mailserver localhost | ||
+ | | ||
+ | set mail-format { from: sistema@texnet.it } # Set custom From: mail header | ||
- | set alert support@texnet.it | + | set alert support@texnet.it |
set httpd port 2812 and | set httpd port 2812 and | ||
Line 106: | Line 109: | ||
</ | </ | ||
+ | Questo comando funziona solo se è stata attivata la funzione integrata di server http (vedi configurazione '' |
doc/appunti/linux/sa/monit.txt · Last modified: 2016/04/26 09:22 by niccolo