Configuring CISCO SAN switch
I try to configure CICSCO SAN switch, but i have the following message :
Wed Aug 31 09:42:40 2016: Got authorizationError (access denied to that object) querying 10.76.xxx.xxx for sysDescr. /home/lpar2rrd/stor2rrd/bin/san_verify.pl:153 :
1) I have created the user snmpuser1
2) I have configured the file /home/lpar2rrd/stor2rrd/etc/san-list.cfg
SNMP_VERSION=3
10.76.xxx.xxx::CISCO:
3) I controll the result with "./config_check.sh"
Any idea ?
Best regards
Philippe
Comments
-
configuration record should look like this:
10.76.xxx.xxx:snmpuser1:CISCO:
The try:
./bin/config_check.sh -
I have already try with 10.76.xxx.xxx:snmpuser1:CISCO: with the same result :
Wed Aug 31 11:26:12 2016: Got authorizationError (access denied to that object) querying 10.76.xxx.xxx for sysDescr. /home/lpar2rrd/stor2rrd/bin/san_verify.pl:153 :
-
ok, as per my research we have not tried yet Cisco with v3 in our labs.
What will not work is snmp v3 with password authorization, this is not implemented yet. I am not sure if this is default for v3.
Can you test it with v2c for example?
snmpwalk -v 2c -c public 10.76.xxx.xxx 1.3.6.1.2.1.1.5
SNMPv2-MIB::sysName.0 = STRING: cisco01
-
I have try :
snmpwalk -v 2c -c public 10.76.xxx.xxx 1.3.6.1.2.1.1.5
SNMPv2-MIB::sysName.0 = STRING: sw123
I have modified my san-list.cfg :
10.76.xxx.xxx::CISCO:
It's now all ok.
Thank...
Regards
-
Hello!
Another issue with connecting HP branded Cisco MDS.
Fresh deployment from XoruX-1.25-1-OVF.zip
Brocade switches are ok.
============
swtdv-106-11-04# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.
Software
BIOS: version 1.0.19
loader: version N/A
kickstart: version 5.2(8)
system: version 5.2(8)
BIOS compile time: 02/01/10
kickstart image file is: bootflash:/m9100-s3ek9-kickstart-mz.5.2.8.bin
kickstart compile time: 12/25/2020 12:00:00 [12/07/2012 19:48:00]
system image file is: bootflash:/m9100-s3ek9-mz.5.2.8.bin
system compile time: 11/9/2012 11:00:00 [12/07/2012 20:47:26]
Hardware
cisco MDS 8Gb Fabric Switch for HP Blade System c-Class Chassis ("1/2/4/8 Gbps FC/Supervisor-3")
Motorola, e500v2 with 2076636 kB of memory.
Processor Board ID JAF1814ABLS
Device name: swtdv-106-11-04
bootflash: 1001952 kB
Kernel uptime is 868 day(s), 1 hour(s), 17 minute(s), 0 second(s)
[lpar2rrd@xorux MIBs]$ tail ~/stor2rrd/logs/error.log
Tue Feb 21 17:33:05 2017: Could not find ports for swtdv-106-11-04 in /home/lpar2rrd/stor2rrd/data/swtdv-106-11-04/PORTS.cfg ./bin/san.pl:252
Tue Feb 21 17:35:19 2017: Could not find ports for swtdv-106-11-04 in /home/lpar2rrd/stor2rrd/data/swtdv-106-11-04/PORTS.cfg ./bin/san.pl:252
Tue Feb 21 17:35:46 2017: Could not find ports for swtdv-106-11-04 in /home/lpar2rrd/stor2rrd/data/swtdv-106-11-04/PORTS.cfg ./bin/san.pl:252
Tue Feb 21 17:36:06 2017: Could not find ports for swtdv-106-11-04 in /home/lpar2rrd/stor2rrd/data/swtdv-106-11-04/PORTS.cfg ./bin/san.pl:252
Tue Feb 21 17:38:12 2017: Could not find ports for swtdv-106-11-04 in /home/lpar2rrd/stor2rrd/data/swtdv-106-11-04/PORTS.cfg ./bin/san.pl:252
Tue Feb 21 17:40:07 2017: Could not find ports for swtdv-106-11-04 in /home/lpar2rrd/stor2rrd/data/swtdv-106-11-04/PORTS.cfg /home/lpar2rrd/stor2rrd/bin/san.pl:252
Tue Feb 21 18:00:07 2017: Could not find ports for swtdv-106-11-04 in /home/lpar2rrd/stor2rrd/data/swtdv-106-11-04/PORTS.cfg /home/lpar2rrd/stor2rrd/bin/san.pl:252
[lpar2rrd@xorux MIBs]$ snmpwalk -v 2c -c public2 10.247.15.82 1.3.6.1.2.1.1.5
SNMPv2-MIB::sysName.0 = STRING: swtdv-106-11-04
[lpar2rrd@xorux MIBs]$ grep 82 ./etc/san-list.cfg
10.247.15.82:public2:CISCO:SD
[lpar2rrd@xorux stor2rrd]$ ./bin/config_check.sh
=========================
SWITCH: 10.247.15.82
=========================
Type : CISCO
DestHost : 10.247.15.82
Version SNMP : 2c
Community : public2
SNMP port : not defined! Used SNMP default port "161"!
Switch name : swtdv-106-11-04
STATE : CONNECTED!
[lpar2rrd@xorux MIBs]$ ls -l ./data/swtdv-106-11-04/
-rw-r--r-- 1 lpar2rrd lpar2rrd 335 Feb 21 18:07 config.cfg
-rw-r--r-- 1 lpar2rrd lpar2rrd 53 Feb 21 18:10 fabric.txt
-rw-r--r-- 1 lpar2rrd lpar2rrd 0 Feb 21 18:10 PORTS.cfg
-rw-r--r-- 1 lpar2rrd lpar2rrd 180 Feb 21 17:36 swtdv-106-11-04_sanperf_20170221_1736.out.tmp
--trimmed--
-rw-r--r-- 1 lpar2rrd lpar2rrd 180 Feb 21 18:10 swtdv-106-11-04_sanperf_20170221_1810.out.tmp
-rw-r--r-- 1 lpar2rrd lpar2rrd 0 Feb 21 18:10 vsan.txt
-
Hello,
can you try these commands?snmpwalk -v 2c -c public2 10.247.15.82 1.3.6.1.2.1.31.1.1.1.1 >ifAlias.txtsnmpwalk -v 2c -c public2 10.247.15.82 1.3.6.1.2.1.31.1.1.1.10 >ifHCOutOctets.txtsnmpwalk -v 2c -c public2 10.247.15.82 1.3.6.1.2.1.31.1.1.1.11 >ifHCOutUcastPkts.txt
Send us outputs via https://upload.stor2rrd.com -
Hi Karel,
collected and uploaded.
Looks normal, hmm...
Howdy, Stranger!
Categories
- 1.6K All Categories
- 43 XORMON NG
- 25 XORMON
- 152 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 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