Update check_koji.
This commit is contained in:
parent
2623d77779
commit
d5762471d3
1 changed files with 3 additions and 6 deletions
|
@ -1,11 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CHECK='/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=7
|
WARNING=20
|
||||||
CRITICAL=15
|
CRITICAL=25
|
||||||
|
|
||||||
FAILURES=$(/usr/bin/wget -qO- http://publictest8.fedora.phx.redhat.com/koji/builds | /bin/grep -c failed.png)
|
|
||||||
|
|
||||||
|
|
||||||
if [ $FAILURES -gt $CRITICAL ]
|
if [ $FAILURES -gt $CRITICAL ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue