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]