issue with add LAN (SWITCH CISCO Nexus)
hi All,
When I try to add a Cisco LAN switch to stor2RRD as a configuration below, I can't add them
The stor2rrd user I used (read-only in Sw) also used r/w privilege and had the same issue.
When I made test connectivity appear,
API host network connection: UDP connection to 10.157.32.148:161 is OK
Crontab test: OK
API authorization: NOK
Thu Aug 24 13:34:15 2023: Got Timeout querying 10.157.32.148:161 with public for sysName. /home/stor2rrd/stor2rrd/bin/SNMP_lib.pm:1331 : /usr/bin/snmpwalk -v 3 -u stor2rrd -l authPriv -A <auth_pass> -X <priv_pass> -a MD5 -x DES 10.157.32.148 1.3.6.1.2.1.1.5 SNMP version : 3 Port : 161 (default) Timeout : 5 seconds SecName : stor2rrd SecLevel : authPriv AuthProto : MD5 PrivProto : DES STATE : NOT CONNECTED!
Comments
-
basically this cmd must work:
/usr/bin/snmpwalk -v 3 -u stor2rrd -l authPriv -A <auth_pass> -X <priv_pass> -a MD5 -x DES 10.157.32.148 1.3.6.1.2.1.1.5
- ask network admins what is wrong with that
- is SNMP v2c enabled there? If so, try it
- most of problems are caused by network filtering of that traffic on firewalls, make 100% sure that this is not an issue
-
the command CMD run on xorux appliance? Right!
SNMP v2c >> This version is already enabled on SW!!
Now we are enabling SNMP v3 with user stor2rrd and password stor2rrd as mentioned before.
-
yep, on the stor2rrd hosted server.
So does snmp v2 work fine?
Just s=v3 does not work?
Ask switch admin how to make a proper query v3 connection (passwords etc)
-
I think we need to enable the API Feature on the SW itself. for collecting the data? right !!
-
no, SNMP is enabled by default, jusat configure SNMP v3 on the switch
-
Dear,
After running the command below, I get the output TIMEOUT."
[root@xorux bin]# snmpwalk -v 3 -u stor2rrd -l authPriv -A stor2rrd -X stor2rrd -a MD5 -x DES 10.157.32.148 1.3.6.1.2.1.1.5
snmpwalk: Timeout
I Changed DES TO AES, the same as before.
-
2 reasons
- there is not enabled network connectivity, check on the firewall that packets are not discarded
- misconfiguration on the switch, check with your switch vendor how to make it work
-
same issue could you please help if need a remote connection !!!!!!
API host network connection: UDP connection to 10.157.32.55:161 is OK
Crontab test: OK
API authorization: NOK
Tue Sep 5 14:07:21 2023: Got Timeout querying 10.157.32.55:161 with public for sysName. /home/stor2rrd/stor2rrd/bin/SNMP_lib.pm:1331 : /usr/bin/snmpwalk -v 3 -u stor2rrd -l noAuthNoPriv -A <auth_pass> -X <priv_pass> -a MD5 -x DES 10.157.32.55 1.3.6.1.2.1.1.5 SNMP version : 3 Port : 161 (default) Timeout : 5 seconds SecName : stor2rrd SecLevel : noAuthNoPriv AuthProto : MD5 PrivProto : DES STATE : NOT CONNECTED!
-
if snmpwalk does not work, we do nothing. There is no any setting on the switches we are aware of.
Are you sure that nework is open for SNMP UDP 161 traffic?
Can you see udp packats from stor2rrd to the switch in the firewall? Does the switch answering anyhow?
Check it with your LAN admins, they definitley must know how to either enable or make snmp working.
-
What does it mean that the connection between server XORUX and the LAN (SWITCH) is OK, he can see the SW right ? As mentioned below:
API host network connection: UDP connection to 10.157.32.55:161 is OK
API host network connection: UDP connection to 10.157.32.148:161 is OK
-
this is a test, but it definitelly cannot exclude that firewall answering instead of the end device.
Pls, really check it with the security team, make sure that there is conection on the network lelev.
99% osf such issues are caused by firewalls.
-
thank you for your assistance
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