Free Storage, SAN and LAN Performance and Capacity Monitoring

How to test UDP

Since version 2.20-1 there is a script which is able to test UDP visibility through your network.
You can download it here conntest_udp.pl.gz
  • Download and install the script if you are not on v2.20-1
    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    ls -l /home/stor2rrd/stor2rrd/bin/conntest_udp.pl
      -rwxr-xr-x 1 stor2rrd stor2rrd 1308 Feb 13 14:22 bin/conntest_udp.pl
    
    If your web browser gunzips it automatically then just rename it: mv conntest_udp.pl.gz conntest_udp.pl
    Assure that file size is same as above listed one

  • Usage
    perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl <device IP/hostname> <UDP port number>
    

Hitachi VSP-G

Check this if horcm daemon does not want to start.
Use storage controller (node) IPs.
perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl 192.168.1.1 31001
  UDP connection to "192.168.1.1" on port "31001" is ok
perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl 192.168.1.2 31001
  UDP connection to "192.168.1.2" on port "31001" is ok

SAN switches

This script might be also used for checking visibility of the SAN switches through SNMP protocol.
$ perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl 192.168.1.1 161
  UDP connection to "192.168.1.1" on port "161" is ok