|
|
@ -2,8 +2,8 @@ set logfile /var/log/monit.log |
|
|
|
set idfile /var/lib/monit/id |
|
|
|
set statefile /var/lib/monit/state |
|
|
|
|
|
|
|
check program checkzebra with path /etc/monit/checkzebra.sh |
|
|
|
if status = 1 then exec "/etc/monit/restartzebra.sh" |
|
|
|
check program checkzebra with path /usr/sbin/checkzebra.sh |
|
|
|
if status = 1 then exec "/usr/sbin/restartzebra.sh" |
|
|
|
|
|
|
|
check program checkindex with path /etc/monit/checkindex.sh |
|
|
|
if status = 1 then exec "/etc/monit/reindexzebra.sh" |
|
|
|
check program checkindex with path /usr/sbin/checkindex.sh |
|
|
|
if status = 1 then exec "/usr/sbin/reindexzebra.sh" |
|
|
|