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
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to