Re: Re: Wrong PID

Bhuvan Gupta <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CAF4ab9UMmnvO8yyJQ9MbQsS2JTUkRQKCQuTZbDW0fNm1QZpzSw@mail.gmail.com>
Thanks for putting in time.

As suggest by the community i have moved to using separate shell files,
which work great :)

Thanks

On Fri, Sep 1, 2017 at 8:38 PM, <[email protected]> wrote:

> Hello Bhuvan Gupta,
> I'm late, but I can't give you some help or hint.
> I have no access to an Centos 7 system and do some additional testing on a
> Mac OS X, Linux and AIX system an everything works well.
>
>
> > Here is the details:
> > monit 5.23.0
> > Centos 7
> > gnome: 3.14.2
>
>
>
> The way you try to start an application via monit works well,
> unfortunately not on your prefered Centos 7 system.
> Bye, Lutz
>
> Verbose Log output, Linux/SLES 11 and Monit 5.210:
> [CEST Sep  1 16:52:10] info     : 'sample-test' start on user request
> [CEST Sep  1 16:52:10] info     : Monit daemon with PID 75595 awakened
> [CEST Sep  1 16:52:10] info     : Awakened by User defined signal 1
> [CEST Sep  1 16:52:10] debug    : 'sample-test' process test failed
> [pid=95537] -- No such process
> [CEST Sep  1 16:52:10] info     : 'sample-test' start: '/bin/sh -c cd
> /home/test/monit/conf; nohup sleep 1000 >/dev/null 2>&1 & echo $!
> >/home/test/monit/conf/sample-test.pid'
> [CEST Sep  1 16:52:10] debug    : 'sample-test' started
> [CEST Sep  1 16:52:10] debug    : 'sample-test' monitoring enabled
> [CEST Sep  1 16:52:10] info     : 'sample-test' start action done
> [CEST Sep  1 16:52:10] debug    : 'sample-test' process is running with
> pid 106421
> [CEST Sep  1 16:52:10] debug    : 'sample-test' process is running with
> pid 106421
> [CEST Sep  1 16:52:10] debug    : 'sample-test' zombie check succeeded
>
> *Mit TravelXtra profitieren Sie von 5% Rückvergütung auf den Reisepreis*
> – bekannte dt. Reiseanbieter und ein umfangreiches Reiseangebot wie im
> Reisebüro!
> https://email.freenet.de/reisen/index.html
> <https://email.freenet.de/reisen/index.html?utm_medium=Text&utm_source=Footersatz&utm_campaign=Footersatz_Reisen07082017&epid=e9900000699&utm_content=Text>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.