monit-dev
[Top][All Lists]
Advanced

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

How to monitor service start/restart/stop?


From: Stanley Lee
Subject: How to monitor service start/restart/stop?
Date: Wed, 26 May 2004 18:45:01 -0700 (PDT)

I need to log a message with my application logger
whenever a monitored service starts, stops, crahses or
restarts. 

Is it possible to do so using the Monit's IF <TEST>
THEN EXEC option or any other way? 

So far I'm not successful since the TEST options 
doesn't include testing for a service start, stop,
crash or restart situation.

Thanks for your help in advance,

Regards,

Stan Lee






        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 




reply via email to

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