]>
Commit | Line | Data |
---|---|---|
75ad92f5 ER |
1 | --- ./plugins-scripts/check_breeze.pl~ 2005-03-15 00:05:04.000000000 +0200 |
2 | +++ ./plugins-scripts/check_breeze.pl 2005-03-23 20:16:43.123595875 +0200 | |
3 | @@ -15,6 +15,7 @@ | |
4 | $ENV{'PATH'}=''; | |
5 | $ENV{'BASH_ENV'}=''; | |
6 | $ENV{'ENV'}=''; | |
7 | +$ENV{'CDPATH'}=''; | |
8 | ||
9 | Getopt::Long::Configure('bundling'); | |
10 | GetOptions | |
11 | --- ./plugins-scripts/check_wave.pl~ 2005-03-23 20:20:48.076385198 +0200 | |
12 | +++ ./plugins-scripts/check_wave.pl 2005-03-23 20:21:02.774789652 +0200 | |
13 | @@ -19,6 +19,7 @@ | |
14 | $ENV{'PATH'}=''; | |
15 | $ENV{'BASH_ENV'}=''; | |
16 | $ENV{'ENV'}=''; | |
17 | +$ENV{'CDPATH'}=''; | |
18 | ||
19 | Getopt::Long::Configure('bundling'); | |
20 | GetOptions | |
21 | @@ -50,34 +51,34 @@ | |
22 | ($opt_w) || ($opt_w = shift) || ($opt_w = 60); | |
23 | my $warning = $1 if ($opt_w =~ /([0-9]+)/); | |
24 | ||
25 | -$low1 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`; | |
26 | +$low1 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`; | |
27 | @test = split(/ /,$low1); | |
28 | $low1 = $test[2]; | |
29 | ||
30 | -$med1 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`; | |
31 | +$med1 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`; | |
32 | @test = split(/ /,$med1); | |
33 | $med1 = $test[2]; | |
34 | ||
35 | -$high1 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`; | |
36 | +$high1 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`; | |
37 | @test = split(/ /,$high1); | |
38 | $high1 = $test[2]; | |
39 | ||
40 | sleep(2); | |
41 | ||
42 | -$snr = `snmpget $host public .1.3.6.1.4.1.762.2.5.2.1.17.1`; | |
43 | +$snr = `/usr/bin/snmpget $host public .1.3.6.1.4.1.762.2.5.2.1.17.1`; | |
44 | @test = split(/ /,$snr); | |
45 | $snr = $test[2]; | |
46 | $snr = int($snr*25); | |
47 | ||
48 | -$low2 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`; | |
49 | +$low2 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`; | |
50 | @test = split(/ /,$low2); | |
51 | $low2 = $test[2]; | |
52 | ||
53 | -$med2 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`; | |
54 | +$med2 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`; | |
55 | @test = split(/ /,$med2); | |
56 | $med2 = $test[2]; | |
57 | ||
58 | -$high2 = `snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`; | |
59 | +$high2 = `/usr/bin/snmpget $host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`; | |
60 | @test = split(/ /,$high2); | |
61 | $high2 = $test[2]; | |
62 |