monit-general
[Top][All Lists]
Advanced

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

Can Monit wait for an event before restarting a service?


From: Kesselring, David
Subject: Can Monit wait for an event before restarting a service?
Date: Sun, 16 Jan 2011 17:16:03 -0800

I would like to know if Monit can wait for an event before restarting a service? My scenario is the following:

1.       Event A is detected by Monit and stops a service.

2.       Monit then issues an ‘exec’ command to start another app to perform some action (in this case install some files).

3.       Monit waits for Event B (indicating that the app completed) and then restarts the service.

 

Is this scenario possible to do with Monit?

 

 

Regards,

David Kesselring

Itron, Inc.

address@hidden

Mobile: +1-919-349-1079

 


reply via email to

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