PDA

View Full Version : Use my script to get SignalStrength from D-link DWL-3200 or 2100


fableman
06-12-2007, 11:39
DWL-SignalStrength is a linux script that you can use to get Rx or Ack Signal Strength from D-link Wireless Units DWL-3200 or DWL-2100
USAGE: DWL-SignalStrength x.x.x.x Rx/Ack password MAC
(ex. ./DWL-SignalStrength 10.123.123.2 Rx password or ./DWL-SignalStrength 10.123.123.2 Ack password 00:13:86:22:a2:1c)

x.x.x.x = IP-address or Host name
Rx = RxSignalStrength Ack = AckSignalStrength
password = admin password for telnet login
MAC = Mac address. Only needed if you have more then one Radio device configured. (ex. 00:13:86:22:a2:1c)


Version: 1.0 (2007-12-06)

Includes: DWL-grep DWL-SignalStrength
unpack: tar -zxvf DWL-SignalStrength.tgz
configure: vim DWL-SignalStrength
edit the line: dwlgrep="/etc/zabbix/externalscripts" #The script dwl-grep must be at that location you put in there.

DOWNLOAD FROM http://software.mediakonst.se/
------------------------------------------------------

HOW TO USE WITH Zabbix:


1. download DWL-SignalStrength.tgz to /etc/zabbix/externalscripts
2. tar -zxvf DWL-SignalStrength.tgz

3 make Host
MUST BE NAMED WITH ONLY IP ADDRESS OR VALID DNS NAME
(until zabbix get out with a version that will only send ip or dns address to external scripts and not host name as now :( )

4. make Item as ex.
Description: SinglaStrength Rx
Type: External check
Key: DWL-SignalStrength[ Rx youradminpassword]
Type of Information: Numric (integer 64bit)
Units: % Rx
Use multiplier: Do not use

(repalce all Rx with Ack if you want that signal instead)

5 trigger
if signal is lower then 6 % maybee ya need to check if a tree grew up infront of the antenna or soo :)


--------------------------------

Hope you like this cos I got it running and monitoring 16 units DWL-3200 and can easy see how the signal strength in % changes and if I need to replace antennas or cut down some trees :)

Any problems let me know.