How to test UDP

  • 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