From 2b884d0f0609880a795d27dfc96b489ebb5e77f2 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Fri, 12 Dec 2003 00:54:01 +0000 Subject: [PATCH] Add in timeout flag (essentially to fool nagios) --- check_rxdebug | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.39.5