On Mon, Jun 04, 2012 at 10:34:06AM -0400, Eyal Edri wrote:
hi,
i want to enhance the job that monitors
gerrit.ovirt.org.
today it just do 'wget -v -d gerrit.ovirt.org':
http://jenkins.ovirt.org/view/system-monitoring/job/check_gerrit_ovirt_or...
Apparently during the time it was hang today,this command succeeded.
any suggestions on how to check if gerrit service is hang?
It's the classical question, how can you tell if a program is dead or
just very very slow.
The usual answer is "define a timeout".
wget -v -d --timeout 5
gerrit.ovirt.org
currently fails after a minute or two of trying. BTW, you could add
`date` before and after `wget` to see if that's the case.
Dan.