[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Monit Sytax error
From: |
Julian Berkner \(CDS\) |
Subject: |
Monit Sytax error |
Date: |
Thu, 23 Dec 2010 08:32:28 +0100 |
Hello everybody,
this is (or is supposed to be) my monitrc:
-------------
set daemon 30
set logfile /var/log/monit.log
set idfile /opt/.monit.id
set statefile /var/.monit.state
set httpd port 2812 and
use address localhost
allow localhost
allow admin:monit
check system localhost
if loadavg (1min) > 0.8 for 4 cycles then exec "some_scriptpath" else if succeeded for 3 cycles then exec "something_else"
-------------
Both scripts work fine, but when trying to start monit with this i get:
"Sytax error: idfile"
after commenting this out (and thereby falling back to the defaults, which is acceptable) i get:
"Syntax error: succeeded"
Why is that, and to be fixed?
Thanks in advance,
Julian
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Monit Sytax error,
Julian Berkner \(CDS\) <=