diff --git a/roles/nagios_server/files/nagios/plugins/check_koji b/roles/nagios_server/files/nagios/plugins/check_koji index 9e1b68611f..f1e026ef7b 100755 --- a/roles/nagios_server/files/nagios/plugins/check_koji +++ b/roles/nagios_server/files/nagios/plugins/check_koji @@ -1,6 +1,6 @@ #!/bin/bash -FAILURES=$(/usr/bin/wget -q --no-check-certificate -O- http://koji.phx2.fedoraproject.org/koji/builds | /bin/grep -c failed.png) +FAILURES=$(/usr/bin/wget --timeout=60 -q -O- http://localhost/koji/builds | /bin/grep -c failed.png) WARNING=20 CRITICAL=25