]> git.michaelhowe.org Git - packages/a/afs-monitor.git/commitdiff
Add in timeout flag (essentially to fool nagios)
authorQuanah Gibson-Mount <quanah@stanford.edu>
Fri, 12 Dec 2003 00:54:01 +0000 (00:54 +0000)
committerQuanah Gibson-Mount <quanah@stanford.edu>
Fri, 12 Dec 2003 00:54:01 +0000 (00:54 +0000)
check_rxdebug

index 41dd88fe4875ccde34c7bafc9c3193aa85c0707a..2907708341f69c7932998fcfb973be484e16cef7 100755 (executable)
@@ -1,5 +1,11 @@
 #!/usr/local/bin/perl
 # $Id$
+
+use Getopt::Std;
+
+getopts ("t:");
+$Timeout= $opt_t || 60;
+
 $rxdebug = '/usr/local/bin/rxdebug';
 @failures=();
 $hiWaterMark=8;