[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problems : start action status is always "failed to start" when chec
From: |
kenichi.futatsumori |
Subject: |
RE: Problems : start action status is always "failed to start" when check process with matching |
Date: |
Fri, 4 Mar 2011 17:00:18 +0900 |
I modified full path description to the app and tried again.(reload , stop and
start)
But service status is also "Execution Failed".
On monit manual....
CHECK PROCESS <unique name> <PIDFILE <path> | MATCHING <regex>>
Matching needs <regex>. and so matching is able to set full or relative path.
Thanks.
Kenichi in Japan.
> -----Original Message-----
> From:
> address@hidden
> org
> [mailto:monit-general-bounces+kenichi.futatsumori=unisys.co.jp
> @nongnu.org] On Behalf Of James A R Brown
> Sent: Friday, March 04, 2011 4:36 PM
> To: This is the general mailing list for monit
> Subject: Re: Problems : start action status is always "failed
> to start" when check process with matching
>
> You need to put the full path to the app
>
> - eg start app normally
> - run "ps -ax"
> - In list, find your programme for example
> 1610 ? Ss 0:00 /usr/sbin/sshd
>
> Then your monitrc needs to be
>
> check process aaa with matching "/usr/sbin/sshd*"
> start = "/sbin/service sshd start"
> stop = "/sbin/service sshs stop"
>
>
>
>
>
>
> On Fri, 2011-03-04 at 16:07 +0900, address@hidden
> wrote:
> > Hi,
> >
> > I am trying to use monit for monitoring a process.
> > A process doesn't create pid file, so I would like to use
> matching option.
> > (monit is version 5.2.4 on linux.)
> >
> > check process aaa with matching "aaa"
> > start = "/sbin/service aaa start"
> > stop = "/sbin/service aaa stop"
> >
> >
> > # monit start aaa
> >
> > The process "aaa" is running but monit's service status
> is always "Execution failed",
> > and I recieved a mail. And "failed to start" was put syslog.
> >
> > And "monit procmatch" is OK.
> >
> > Why ?
> >
> > # monit status
> > ....
> > Process 'aaa'
> > status Execution failed
> > monitoring status monitored
> > pid 15376 <--- but
> process is running !
> > parent pid 1
> > uptime 1m
> > children 17
> > memory kilobytes 2232
> > memory kilobytes total 68428
> > memory percent 0.1%
> > memory percent total 3.2%
> > cpu percent 0.0%
> > cpu percent total 0.0%
> > data collected Fri Mar 1 16:02:33 2011
> >
> >
> > Thanks.
> >
> > Kenichi in Japan.
> >
> >
> > --
> > To unsubscribe:
> > http://lists.nongnu.org/mailman/listinfo/monit-general
>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
>
- Problems : start action status is always "failed to start" when check process with matching, kenichi.futatsumori, 2011/03/04
- Re: Problems : start action status is always "failed to start" when check process with matching, James A R Brown, 2011/03/04
- RE: Problems : start action status is always "failed to start" when check process with matching,
kenichi.futatsumori <=
- Antwort: Problems : start action status is always "failed to start" when check process with matching, Patrick Viola, 2011/03/04
- RE: Problems : start action status is always "failed to start" when check process with matching, kenichi.futatsumori, 2011/03/07
- Re: Problems : start action status is always "failed to start" when check process with matching, Martin Pala, 2011/03/08
- Re: Problems : start action status is always "failed to start" when check process with matching, Mike Schmidt, 2011/03/08
- RE: Problems : start action status is always "failed to start" when check process with matching, kenichi.futatsumori, 2011/03/10
- Re: Problems : start action status is always "failed to start" when check process with matching, Jan-Henrik Haukeland, 2011/03/10
- RE: Problems : start action status is always "failed to start" when check process with matching, kenichi.futatsumori, 2011/03/17
- Re: Problems : start action status is always "failed to start" when check process with matching, Martin Pala, 2011/03/18
- Re: Problems : start action status is always "failed to start" when check process with matching, Martin Pala, 2011/03/21
- RE: Problems : start action status is always "failed to start" when check process with matching, kenichi.futatsumori, 2011/03/21