flomkrl_29950
Dec 18, 2007Nimbostratus
monitor statistics
Hello ,
I have a node which go down and up everytime. The timeout of the http monitor is not set properly.
I want to know exactly what is the time obtained by the monitor health check. It do not appeared on stat and command line.
Thanks in advance for your help;
Regards,
Flo;
For the moment i will use a script to do that :
(time curl http://IP1/test.html ) 2> /tmp/node1.txt
(time curl http://IP2/test.html ) 2> /tmp/node2.txt
node1=`cat /tmp/node1.txt | grep real | cut -d "m" -f 2 | cut -d "s" -f 1`
node2=`cat /tmp/node2.txt | grep real | cut -d "m" -f 2 | cut -d "s" -f 1`
tm=`date`
echo "$tm,$node1,$node2" >> /tmp/statnode.txt