[Top][All Lists]

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

problem: monit unmonitor serviceName

From: Josh Portner
Subject: problem: monit unmonitor serviceName
Date: Wed, 06 Apr 2011 15:18:29 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

when I do an unmonitor command like:
monit unmonitor tomcat6

nothing gets printed out in the monit log, and after stopping the service monit will try to start it (still monitoring it)

if I try a service that doesn't exist, I get an error:
monit unmonitor blahblah
monit[6921]: monit: service 'blahblah' -- doesn't exist

If I do an unmonitor from m/monit, it works fine
monit[2864]: 'tomcat6' unmonitor action done

I'm thinking this might be because we are running monit from init as described in the FAQ.
If that is the case, is it possible to send monitor/unmonitor commands from the command line when monit is running from init?

reply via email to

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