[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
mark.
Files modified:
Don't count entries/comments imports for nagios.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
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())" } --------------------------------------------------------------------------------