X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=inline;f=dsa-nagios-checks%2Fchecks%2Fdsa-check-zone-rrsig-expiration-many;h=b97cb09fdb653e6af840749eb68b42b843f3df10;hb=a62cb26cd7c039376902262c6ac7cc9e5c2e139d;hp=ec97557daf1477e91c0db2de9dd37b17fcc353ff;hpb=84670e0759eb75a098e2574af08c70ea406c04cd;p=mirror%2Fdsa-nagios.git diff --git a/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration-many b/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration-many index ec97557..b97cb09 100755 --- a/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration-many +++ b/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration-many @@ -71,6 +71,7 @@ sub check_one { my @cmd = ($check, '-w', $params->{'warn'}, '-c', $params->{'critical'}); push(@cmd, '-r', $extra->{'initial_refs'}) if exists $extra->{'initial_refs'}; + push(@cmd, '-d') if $params->{'debug'}; push(@cmd, $zone); open(P, '-|', @cmd) or die ("Cannot run $CHECK for $zone\n"); my @p =
;
@@ -82,13 +83,14 @@ sub check_one {
return ($res, \@p);
}
-my $USAGE = "Usage: $PROGRAM_NAME [--help] | [--timeout=