/bin/san_verify.pl throwing query timeout error during initial setup

I am in process of setting up STOR2RRD for switch monitoring. During initial setup of SAN switches, san_verify.pl throwing query timeout error.

STOR2RRD host is running RHEL6.

[stor2rrd]$/etc/san-list.cfg
# Define your SNMP port If you using another then default 161
SNMP_PORT=162
#
1x.1xx.1x.1xx:x_public:BRCD:
1x.1xx.1x.1xx:x_public:BRCD:


[stor2rrd]$./bin/config_check.sh

=========================
SWITCH: 1x.1xx.1xx.1xx
=========================
Type : BRCD
DestHost : 1x.1xx.1xx.1xx
Version SNMP : 1
Community : x_public
Community : x_public
SNMP port : 162

Tue Jul 12 19:38:18 2016: Got Timeout querying 1x.1xx.1xx.1xx for sysDescr. /data/stor2rrd/stor2rrd/bin/san_verify.pl:155 :

snmpwalk returns required details. Refer below,

[stor2rrd]$snmpwalk -v 1 -c x_public 1x.1xx.1xx.1xx 1.3.6.1.2.1.1.5
SNMPv2-MIB::sysName.0 = STRING: BRC7800-2

stor2rrd]$snmpwalk -v 1 -c 0_public 1x.1xx.1xx.1xx sysDescr
SNMPv2-MIB::sysDescr.0 = STRING: Fibre Channel Switch.

Any help..

Thanks, Bipin

Comments

  • Hi,

    you have got configured "SNMP_PORT=162" in san-list.cfg.
    It looks like you should use default snmp port 161 in san-list.cfg.

    snmpwalk command with default snmp port 161.
    snmpwalk -v 1 -c x_public 1x.1xx.1xx.1xx 1.3.6.1.2.1.1.5

    snmpwalk with port 162:
    snmpwalk -v 1 -c x_public 1x.1xx.1xx.1xx:162 1.3.6.1.2.1.1.5

    Karel
  • Thank you Karel,
    It just worked fine on default port 161.

    Thx, Bipin
Sign In or Register to comment.