From d5762471d39f82e6a18b04759b817e4459dc7cee Mon Sep 17 00:00:00 2001 From: Ricky Zhou Date: Fri, 13 Mar 2009 23:32:24 -0400 Subject: [PATCH] Update check_koji. --- scripts/nagios/check_koji | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/nagios/check_koji b/scripts/nagios/check_koji index 5da99a0..31f7d18 100755 --- a/scripts/nagios/check_koji +++ b/scripts/nagios/check_koji @@ -1,11 +1,8 @@ #!/bin/bash -CHECK='/usr/bin/wget -qO- http://publictest8.fedora.phx.redhat.com/koji/builds | /bin/grep -c failed.png' -WARNING=7 -CRITICAL=15 - -FAILURES=$(/usr/bin/wget -qO- http://publictest8.fedora.phx.redhat.com/koji/builds | /bin/grep -c failed.png) - +FAILURES=$(/usr/bin/wget -q --no-check-certificate -O- http://koji1.fedora.phx.redhat.com/koji/builds | /bin/grep -c failed.png) +WARNING=20 +CRITICAL=25 if [ $FAILURES -gt $CRITICAL ] then