4 # Plugin to test signal strength on Speedlan wireless equipment
5 # Contributed by Jeffry Blank
14 $low1 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`;
15 @test=split(/ /,$low1);
19 $med1 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
20 @test=split(/ /,$med1);
24 $high1 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
25 @test=split(/ /,$high1);
32 $snr = `snmpget $Host public .1.3.6.1.4.1.762.2.5.2.1.17.1`;
33 @test=split(/ /,$snr);
36 $low2 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`;
37 @test=split(/ /,$low2);
41 $med2 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
42 @test=split(/ /,$med2);
46 $high2 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
47 @test=split(/ /,$high2);
68 $ss=($medavg*50)+($highavg*100);
70 printf("Signal Strength at: %3.0f%, SNR at $snr%",$ss);
71 #print "Signal Strength at: $ss%, SNR at $snr%";