X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=dsa-nagios-checks%2Fchecks%2Fdsa-check-zone-rrsig-expiration-many;h=4139b0da2e4261966e2efa2190544f23a1cedd69;hb=90b9a1d5360d73feebc844d67a8793b89c977e3d;hp=cfbacfd3b78f2b42c6ae1d37c01d072201734916;hpb=3756e9519c4d13cdc6757d4329667481d12d6732;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 cfbacfd..4139b0d 100755 --- a/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration-many +++ b/dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration-many @@ -177,8 +177,8 @@ while (time - $begin <= $params->{timeout}) { else { push @{$count->{'unknown'}}, $zone; }; delete $threads{$zone}; } - # print STDERR "foo #threads:", (scalar keys %threads), ":", join(",", keys %threads),"\n"; last if scalar keys %threads == 0; + print STDERR (scalar keys %threads), " threads left: ", join(" ", keys %threads), "\n" if $params->{'debug'}; sleep 1; } for my $zone (sort {$a cmp $b} keys %threads) {