/[monit]/monit/alert.c
ViewVC logotype

Diff of /monit/alert.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by martinp, Sun Aug 14 08:44:48 2005 UTC revision 1.44 by martinp, Thu Oct 6 21:14:42 2005 UTC
# Line 99  void handle_alert(Event_T E) { Line 99  void handle_alert(Event_T E) {
99          /* particular event notification type is allowed for given recipient */          /* particular event notification type is allowed for given recipient */
100          IS_EVENT_SET(m->events, Event_get_id(E)) &&          IS_EVENT_SET(m->events, Event_get_id(E)) &&
101          (          (
102            /* 'changed' event type is sent always */            /* 'changed/matched' event types are sent always */
103            E->id == EVENT_CHANGED ||            E->id == EVENT_CHANGED || E->id == EVENT_MATCH ||
104            /* state change notification is sent always */            /* state change notification is sent always */
105            E->state_changed       ||            E->state_changed       ||
106            /* in the case that the state is failed for more cycles we check            /* in the case that the state is failed for more cycles we check

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26