monit-general
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Script status check error with monit5.3
From
:
Pratap Kumar
Subject
:
Script status check error with monit5.3
Date
:
Wed, 28 Sep 2011 16:22:18 +0530
Hi,
I am using "Script status check " feature of Monit5.3 for one of the service .
/etc/monitrc
check program scipt with path "/etc/init.d/service"
if status != 0 then EXEC "/etc/init.d/service restart"
After restarting the service,it writes log continuously as below,
[IST Sep 28 16:15:22] info : 'script' exec: /etc/init.d/service
[IST Sep 28 16:16:22] error : 'script' status failed (2) for /etc/init.d/service. Error: no output..
How do I write meaningful messages instead of above.
Thanks in advance for your precious support.
Thanks
Pratap
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Script status check error with monit5.3
,
Pratap Kumar
<=
Re: Script status check error with monit5.3
,
Jan-Henrik Haukeland
,
2011/09/28
Prev by Date:
Monit restarting app without waiting for the indicated number of cycles to complete (if mem > 100MB for 5 cycles then restart)
Next by Date:
Re: Script status check error with monit5.3
Previous by thread:
Monit restarting app without waiting for the indicated number of cycles to complete (if mem > 100MB for 5 cycles then restart)
Next by thread:
Re: Script status check error with monit5.3
Index(es):
Date
Thread