I missed a few - updated patch.
diff -ur nagios-plugins-contrib-9.20140106/check_zone_rrsig_expiration/check_zone_rrsig_expiration nagios-plugins-contrib-fixed/check_zone_rrsig_expiration/check_zone_rrsig_expiration
--- nagios-plugins-contrib-9.20140106/check_zone_rrsig_expiration/check_zone_rrsig_expiration	2014-01-06 11:57:10.000000000 +0000
+++ nagios-plugins-contrib-fixed/check_zone_rrsig_expiration/check_zone_rrsig_expiration	2014-03-10 00:37:42.165702724 +0000
@@ -74,18 +74,18 @@
 #  -d             debug
 #  -C days        Critical if expiring in this many days
 #  -W days        Warning if expiring in this many days
-my %opts = (t=>30, C=>2, W=>3);
+our %opts = (t=>30, C=>2, W=>3);
 getopts('Z:dt:W:C:', \%opts);
 usage() unless $opts{Z};
 usage() if $opts{h};
-my $zone = $opts{Z};
+our $zone = $opts{Z};
 $zone =~ s/^zone\.//;
 
-my $data;
-my $start;
-my $stop;
+our $data;
+our $start;
+our $stop;
 
-my @refs = qw (
+our @refs = qw (
 a.root-servers.net
 b.root-servers.net
 c.root-servers.net
diff -ur nagios-plugins-contrib-9.20140106/dsa/checks/dsa-check-dnssec-delegation nagios-plugins-contrib-fixed/dsa/checks/dsa-check-dnssec-delegation
--- nagios-plugins-contrib-9.20140106/dsa/checks/dsa-check-dnssec-delegation	2014-01-06 11:57:10.000000000 +0000
+++ nagios-plugins-contrib-fixed/dsa/checks/dsa-check-dnssec-delegation	2014-03-09 23:34:06.935684303 +0000
@@ -32,7 +32,7 @@
 
 my $RES = Net::DNS::Resolver->new;
 my $DLV = 'dlv.isc.org';
-my $params;
+our $params;
 
 sub get_tag_generic {
 	my $zone = shift;

Attachment: signature.asc
Description: Digital signature



Reply via email to