mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-05-01 08:18 am

[dw-ops] Don't count entries/comments imports for nagios.

[commit: http://hg.dwscoalition.org/dw-ops/rev/15e67701ffa1]

Don't count entries/comments imports for nagios.

Patch by [staff profile] mark.

Files modified:
  • nagios/conf.d/config/commands.cfg
--------------------------------------------------------------------------------
diff -r aaa4ed969a7b -r 15e67701ffa1 nagios/conf.d/config/commands.cfg
--- a/nagios/conf.d/config/commands.cfg	Thu Apr 30 21:55:15 2009 +0000
+++ b/nagios/conf.d/config/commands.cfg	Fri May 01 08:18:22 2009 +0000
@@ -31,7 +31,7 @@ define command {
 # checks that we are not falling behind on TheSchwartz jobs
 define command {
     command_name  dw_check_theschwartz_queue
-    command_line  $USER1$/check_mysql_query -H $HOSTADDRESS$ -u $USER5$ -p $USER6$ -d dw_schwartz -w 50 -c 100 -q "SELECT COUNT(*) FROM job WHERE (run_after < UNIX_TIMESTAMP()) AND (grabbed_until < UNIX_TIMESTAMP())"
+    command_line  $USER1$/check_mysql_query -H $HOSTADDRESS$ -u $USER5$ -p $USER6$ -d dw_schwartz -w 50 -c 100 -q "SELECT COUNT(*) FROM job WHERE funcid NOT IN (10, 11) AND (run_after < UNIX_TIMESTAMP()) AND (grabbed_until < UNIX_TIMESTAMP())"
 }
 
 
--------------------------------------------------------------------------------