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

Diff of /monit/validate.c

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

revision 1.36 by martinp, Fri Feb 14 08:22:33 2003 UTC revision 1.37 by hauk, Tue Feb 18 13:55:32 2003 UTC
# Line 188  static void do_validate(Process_T p) { Line 188  static void do_validate(Process_T p) {
188                    
189            switch(pr->action) {            switch(pr->action) {
190            case ACTION_ALERT:            case ACTION_ALERT:
191                  if(p->def_timeout) p->nstart++;
192                smtp_alert_resource(p, "Reason: %s\n", report);                smtp_alert_resource(p, "Reason: %s\n", report);
193                /* We are also interested in other alerts/stops/restarts! */                /* We are also interested in other alerts/stops/restarts! */
194                pr->cycle=0;                pr->cycle=0;
# Line 226  static void do_validate(Process_T p) { Line 227  static void do_validate(Process_T p) {
227                    
228        switch(tl->action) {        switch(tl->action) {
229        case ACTION_ALERT:        case ACTION_ALERT:
230              if(p->def_timeout) p->nstart++;
231            smtp_alert_timestamp(p, "Reason: %s\n", report);            smtp_alert_timestamp(p, "Reason: %s\n", report);
232            break; /* continue */            break; /* continue */
233                        

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

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