[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit-dev] [monit] r266 committed - document desired event_action actio
From: |
monit |
Subject: |
[monit-dev] [monit] r266 committed - document desired event_action action type |
Date: |
Sun, 19 Sep 2010 22:02:56 +0000 |
Revision: 266
Author: martin2812
Date: Sun Sep 19 15:01:47 2010
Log: document desired event_action action type
http://code.google.com/p/monit/source/detail?r=266
Modified:
/trunk/validate.c
=======================================
--- /trunk/validate.c Thu Sep 16 03:48:17 2010
+++ /trunk/validate.c Sun Sep 19 15:01:47 2010
@@ -1327,6 +1327,7 @@
static int do_scheduled_action(Service_T s) {
int rv = FALSE;
if (s->doaction != ACTION_IGNORE) {
+ // FIXME: let the event engine do the action directly? (just replace
s->action_ACTION with s->doaction and drop control_service call)
rv = control_service(s->name, s->doaction);
Event_post(s, Event_Action, STATE_CHANGED, s->action_ACTION, "%s
action done", actionnames[s->doaction]);
s->doaction = ACTION_IGNORE;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit-dev] [monit] r266 committed - document desired event_action action type,
monit <=