1 diff -urNp -x '*.orig' nagios-plugins-2.3.3.org/plugins-scripts/check_breeze.pl nagios-plugins-2.3.3/plugins-scripts/check_breeze.pl
2 --- nagios-plugins-2.3.3.org/plugins-scripts/check_breeze.pl 2017-01-16 18:24:03.000000000 +0100
3 +++ nagios-plugins-2.3.3/plugins-scripts/check_breeze.pl 2021-04-19 12:00:29.523755726 +0200
4 @@ -17,6 +17,7 @@ sub print_usage ();
5 $ENV{'PATH'}='@TRUSTED_PATH@';
10 Getopt::Long::Configure('bundling');
12 diff -urNp -x '*.orig' nagios-plugins-2.3.3.org/plugins-scripts/check_wave.pl nagios-plugins-2.3.3/plugins-scripts/check_wave.pl
13 --- nagios-plugins-2.3.3.org/plugins-scripts/check_wave.pl 2019-12-04 22:53:08.000000000 +0100
14 +++ nagios-plugins-2.3.3/plugins-scripts/check_wave.pl 2021-04-19 12:00:29.523755726 +0200
15 @@ -21,6 +21,7 @@ sub print_usage ();
16 $ENV{'PATH'}='@TRUSTED_PATH@';
21 Getopt::Long::Configure('bundling');
23 @@ -52,7 +53,7 @@ my $critical = $1 if ($opt_c =~ /([0-9]+
24 ($opt_w) || ($opt_w = shift) || ($opt_w = 60);
25 my $warning = $1 if ($opt_w =~ /([0-9]+)/);
27 -$low1 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1 2>/dev/null`;
28 +$low1 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1 2>/dev/null`;
30 print "UNKNOWN - Could not find the 'snmpget' command Please install\n";
31 print "the snmp commands (usually net-snmp) before using $PROGNAME\n";
32 @@ -61,30 +62,30 @@ unless ($low1) {
33 @test = split(/ /,$low1);
36 -$med1 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
37 +$med1 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
38 @test = split(/ /,$med1);
41 -$high1 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
42 +$high1 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
43 @test = split(/ /,$high1);
48 -$snr = `snmpget $host public .1.3.6.1.4.1.762.2.5.2.1.17.1`;
49 +$snr = `/usr/bin/snmpget $host public .1.3.6.1.4.1.762.2.5.2.1.17.1`;
50 @test = split(/ /,$snr);
54 -$low2 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`;
55 +$low2 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`;
56 @test = split(/ /,$low2);
59 -$med2 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
60 +$med2 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
61 @test = split(/ /,$med2);
64 -$high2 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
65 +$high2 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
66 @test = split(/ /,$high2);