Installation
$ perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl 192.168.1.1 161 UDP connection to "192.168.1.1" on port "161" is okHowever even "ok" result does not have to mean that communication is not blocked by some firewall as firewall can respond to that test
SAN1:admin> snmpconfig --show accessControl
SAN1:admin> snmpconfig --show mibCapability FE-MIB: YES SW-MIB: YES FA-MIB: YES FICON-MIB: YES HA-MIB: YES FCIP-MIB: YES ISCSI-MIB: YES IF-MIB: YES BD-MIB: YES BROCADE-MAPS-MIB: YES ...Activate missing MIBs like below:
SAN1:admin> snmpconfig --enable mibCapability -mib_name FICON-MIB SAN1:admin> snmpconfig --enable mibCapability -mib_name HA-MIB SAN1:admin> snmpconfig --enable mibCapability -mib_name FCIP-MIB SAN1:admin> snmpconfig --enable mibCapability -mib_name ISCSI-MIB SAN1:admin> snmpconfig --enable mibCapability -mib_name BD-MIB ...make sure it works from stor2rrd server:
$ /opt/freeware/bin/snmpwalk -v 1 -c <your comunity string> <Switch IP/hostname> 1.3.6.1.2.1.75.1.1.1 SNMPv2-SMI::mib-2.75.1.1.1.0 = Hex-STRING: 10 00 00 27 F8 6E 88 CD
SAN1:admin> snmpconfig --show snmpv1
SAN1:admin> snmpconfig --show seclevel SAN1:admin> snmpconfig --set seclevel Select SNMP GET Security Level (0 = No security, 1 = Authentication only, 2 = Authentication and Privacy, 3 = No Access): (0..3) [3] 0
SAN1:admin> snmpconfig --enable mibCapability -mib_name FCIP-MIB
$ cd /home/stor2rrd/stor2rrd/logs $ tail -1 err.log-<Switch IP> Can't load '/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: Could not load module /opt/freeware/lib/libnetsnmp.a(libnetsnmp.so.25). Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded. Member libcrypto.so.1.0.1 is not found in archive
# snmpwalk -v 2c -c <your comunity string> <Switch IP/hostname> 1.3.6.1.3.94.1.6.1.6 SNMPv2-SMI::experimental.94.1.6.1.6.16.0.136.148.113.64.127.199.0.0.0.0.0.0.0.0 = INTEGER: 5It should return "3".
snmpwalk -v 2c -c <your comunity string> <Switch IP/hostname> 1.3.6.1.2.1.1.5If you go nowhere, contact the switch vendor support
SAN1:admin> snmpconfig --show seclevel SAN1:admin> snmpconfig --show mibCapability SAN1:admin> snmpconfig --show accessControl
ifconfig -a
snmpwalk -v 2c -c <your comunity string> <Switch IP/hostname> 1.3.6.1.3.94.1.6.1.6