[Top][All Lists]

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

Re: Correct method to monitor service?

From: frwa onto
Subject: Re: Correct method to monitor service?
Date: Mon, 9 Nov 2015 23:30:21 +0800

Hi Martin
             I got this error now when I did this monit start service1 ? Where to add the 'set httpd statement"?

Action start not possible - monit http interface is not enabled, please add the 'set httpd' statement ? Should I start using monit start command or can I use the existing method to start it? Which the correct one?

On Mon, Nov 9, 2015 at 11:27 PM, Martin Pala <address@hidden> wrote:

correct syntax is:

        monit start service1


> On 09 Nov 2015, at 16:23, frwa onto <address@hidden> wrote:
> Hi,
>     I have set below in my monit.conf.
> check process service1 with pidfile /var/run/
>               start program = "/etc/rc.d/init.d/service1 start" with timeout 60 seconds
>               stop program = "/etc/rc.d/init.d/service1 stop"
> I tried to start the service in this manner
> monit service1 start
> Invalid argument -- service1 (-h will show valid arguments)
> So should I start using my existing method where I get into my wrapper folder /usr/local/wra1/bin/ then key in ./ I would like to know if I am doing the right thing?
> Thank  you.
> --
> To unsubscribe:

To unsubscribe:

reply via email to

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