/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
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
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle