[1879] in Moira Commits

home help back first fref pref prev next nref lref last post

/svn/moira r4021 - trunk/moira/server

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Thu Sep 2 11:07:06 2010

Date: Thu, 2 Sep 2010 11:07:00 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Message-Id: <201009021507.o82F70Y0027288@drugstore.mit.edu>
To: moira-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: zacheiss
Date: 2010-09-02 11:07:00 -0400 (Thu, 02 Sep 2010)
New Revision: 4021

Modified:
   trunk/moira/server/increment.pc
Log:
Generate critical alerts for incremental timeouts and failed launches.

Modified: trunk/moira/server/increment.pc
===================================================================
--- trunk/moira/server/increment.pc	2010-09-02 13:46:09 UTC (rev 4020)
+++ trunk/moira/server/increment.pc	2010-09-02 15:07:00 UTC (rev 4021)
@@ -622,7 +622,7 @@
     return;
 
   if (inc_running)
-    com_err(whoami, 0, "incremental timeout on pid %d", inc_pid);
+    critical_alert(whoami, "moirad", "incremental timeout on pid %d", inc_pid);
 
   sq_remove_data(incremental_exec, &iu);
   argv[1] = iu->table;
@@ -649,7 +649,7 @@
       execv(prog, argv);
       _exit(1);
     case -1:
-      com_err(whoami, 0, "Failed to start incremental update");
+      critical_alert(whoami, "moirad", "Failed to start incremental update %s", prog);
       break;
     default:
       inc_running = 1;


home help back first fref pref prev next nref lref last post