From: Quanah Gibson-Mount Date: Fri, 12 Dec 2003 00:54:01 +0000 (+0000) Subject: Add in timeout flag (essentially to fool nagios) X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2b884d0f0609880a795d27dfc96b489ebb5e77f2;p=packages%2Fa%2Fafs-monitor.git Add in timeout flag (essentially to fool nagios) --- diff --git a/check_rxdebug b/check_rxdebug index 41dd88f..2907708 100755 --- a/check_rxdebug +++ b/check_rxdebug @@ -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;