monit-general
[Top][All Lists]
Advanced

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

Re: Monit is not able to check the status of Pyhton script


From: Martin Pala
Subject: Re: Monit is not able to check the status of Pyhton script
Date: Thu, 3 Nov 2011 19:05:12 +0100

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




reply via email to

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