add a directory for running nagios scale/performance tests
[monitor.git] / nagios / test / status.sh
1 #!/bin/bash 
2
3 source /usr/share/monitor/nagios/common.sh
4
5 HOST=monitor.planet-lab.org 
6 open_http $HOST
7
8 PAUSE=$( random_delay 30 ) 
9 sleep $PAUSE
10 /usr/lib/nagios/plugins/check_dummy $( percent_true 90 ) "After $PAUSE sec pause; $1"
11 R=$?
12
13 close_http
14 exit $R