From: hadaq Date: Thu, 29 Jan 2009 12:56:53 +0000 (+0000) Subject: debugging. Sergey. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0db26fca47724921ceec7b1895739edea2cf83d7;p=hadesicinga.git debugging. Sergey. --- diff --git a/plugins/check_lustre.pl b/plugins/check_lustre.pl index ddf477a..646d465 100755 --- a/plugins/check_lustre.pl +++ b/plugins/check_lustre.pl @@ -71,7 +71,7 @@ sub main { while (1) { - + print "main: start while\n"; if( $opt_s && abs($time_du - $time_ls) > 60*60*24 ){ $lustre_size = &getTotalSize(); $time_du = &getTime(); @@ -95,8 +95,9 @@ sub main { else { $status = "CRITICAL - Lustre mount failure!"; } - + print "main: before sleep\n"; sleep $sleep_time; # 10 minutes + print "main: after sleep\n"; } }