Pratap,

please can you provide the follwing informations?:

1.) monit log

2.) output of:
ls -l /pratap/Service_mount.py

3.) output of:
/pratap/Service_mount.py
echo $?

Regards,
Martin


On Nov 3, 2011, at 3:01 PM, Pratap Kumar wrote:

> 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


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to