3 source /usr/share/monitor/nagios/common.sh
5 RAW=$( random_sample /usr/share/monitor/nagios/rttickets_check_data.txt )
6 RUNTIME=$( echo $RAW | awk '{print $1}' )
7 STATE=$( echo $RAW | awk '{print $2}' )
8 SLEEP=`echo "scale=3; $RUNTIME * 950000" | bc`
13 /usr/lib/nagios/plugins/check_dummy $( str_to_state $STATE ) "Slept $RUNTIME sec for $STATE"