monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monit is not able to check the status of Pyhton script


From: Pratap Kumar
Subject: Monit is not able to check the status of Pyhton script
Date: Thu, 3 Nov 2011 19:31:26 +0530

Hi,

Monit is not able to check the status of Pyhton script

check program Service_mount with path "/pratap/Service_mount.py"
       if status != 0 then
       EXEC "/pratap/script-monit stop"
       else if succeeded then
       EXEC "/pratap/script-monit start"


My script is returning a value 1.


Please help me out.Thanks in advance for your precious support.



Thanks
Pratap

reply via email to

[Prev in Thread] Current Thread [Next in Thread]