When adding LAN-switch to UI they are not displayed in monitoring
Comments
-
STOR2RRD version 2.60 -
Ctrl-F5 in the browserwhen have you added it? 1 hour back at least?if so then logsNote a short problem description in the text field of the upload form.
cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
tar cvhf logs.tar logs tmp/*txt
gzip -9 logs.tar
Send us logs.tar.gz via https://upload.stor2rrd.com
-
It's been 24 hours since it was added.
-
is this working?perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl <switch IP> 161
-
I sent logs files
-
[lpar2rrd@STOR2RRD bin]$ perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl 10.37.255.xx 161UDP connection to "10.37.255.xx" on port "161" is ok
-
Hi,
i have the same problem with configuration snmp v3
UI doesn't show switch
testing from UI below
API host network connection: UDP connection to 10.9.212.138:161 is OK
Crontab test: OK
API authorization: OK/usr/bin/snmpwalk -v 3 -u prime -l authPriv -A -X -a SHA -x AES 10.9.212.138 1.3.6.1.2.1.1.5 SNMP version : 3 Port : 161 (default) Timeout : 5 seconds SecName : prime SecLevel : authPriv AuthProto : SHA PrivProto : AES Switch name : PLOLB-n7k-corpo1 STATE : CONNECTED!
API data test: OK
error.log consist of below errorsstor2rrd@pl002-mg-xorux1 logs $ tail 10 error.log-10.9.212.138tail: cannot open ‘10’ for reading: No such file or directory==> error.log-10.9.212.138 <==Thu Oct 17 09:59:03 2019: Data collection via snmp timed out after 600 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 10:04:03 2019: Data collection via snmp timed out after 600 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 10:09:03 2019: Data collection via snmp timed out after 600 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system call
regards
tomlee
-
Hi,
data collection from your switches takes too long.
Can you try the following steps? It should help.
1. increase data collection timeout
Just put line "export LAN_DATA_COLLECTION_TIMEOUT=900" to etc/.magiccd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
echo "export LAN_DATA_COLLECTION_TIMEOUT=900" >> etc/.magic
2. re-schedule LAN agent in the crontabcrontab -e Change this line:
# LAN 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/lpar2rrd/stor2rrd/load_lanperf.sh >/home/lpar2rrd/stor2rrd/logs/load_lanperf.out 2>&1lpar2rrd/stor2rrd/logs/load_sanperf.out 2>&1
to:
0,10,20,30,40,50 * * * * /home/lpar2rrd/stor2rrd/load_lanperf.sh >/home/lpar2rrd/stor2rrd/logs/load_lanperf.out 2>&1Let it work about 2-3 hours and let us know if that helped.
-
Hi, Karel
It's not working... Sorry
-
Hi Maks,
cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
tail logs/error.log-<switch IP> -
Karel,Thu Oct 17 12:45:06 2019: Data collection via snmp timed out after 900 seconds : /home/lpar2rrd/stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 12:55:06 2019: Data collection via snmp timed out after 900 seconds : /home/lpar2rrd/stor2rrd/bin/lanperf.pl:61 : Interrupted system call
-
Hi,
cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
./bin/config_check.sh <switch IP> -
Hi,
from my side i changed timeout to 1700 and it didn't help
it is almost half hourstor2rrd@pl002-mg-xorux1 ~ $ tail 20 logs/error.log-10.9.212.138tail: cannot open ‘20’ for reading: No such file or directory==> logs/error.log-10.9.212.138 <==/stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 12:14:03 2019: Data collection via snmp timed out after 900 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 12:29:03 2019: Data collection via snmp timed out after 1140 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 12:39:03 2019: Data collection via snmp timed out after 1140 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 12:49:02 2019: Data collection via snmp timed out after 1140 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 12:59:02 2019: Data collection via snmp timed out after 1140 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system callThu Oct 17 13:19:03 2019: Data collection via snmp timed out after 1700 seconds : /stor2rrd/bin/lanperf.pl:61 : Interrupted system call -
i did config_check.shstor2rrd@pl002-mg-xorux1 ~ $ ./bin/config_check.sh 10.9.212.138=========================SWITCH: 10.9.212.138=========================UDP connection to "10.9.212.138" on port "161" is oksan_verify.pl:Thu Oct 17 13:27:04 2019: Got Timeout querying 10.9.212.138:161 with public for sysName. /stor2rrd/bin/SNMP_lib.pm:739 :snmpwalk -v 2c -c public 10.9.212.138 1.3.6.1.2.1.1.5SNMP version : 2c (default)Port : 161 (default)Timeout : 5 secondsCommunity : publicSTATE : NOT CONNECTED!connection failed!!Check network connectivity and user access
-
my earlier output didn't work because it try snmp 2c from UI i configured snmp3
-
Karel,=========================SWITCH: 10.37.255.xx=========================UDP connection to "10.37.255.xx" on port "161" is oksan_verify.pl:snmpwalk -v 2c -c VDA 10.37.255.xx 1.3.6.1.2.1.1.5SNMP version : 2c (default)Port : 161 (default)Timeout : 5 secondsCommunity : VDASwitch name : myNameSWSTATE : CONNECTED!connection ok
-
Karel, Max
if my comments confuse you, please let me know - i just want to help because i have the same problem.
@Karel
i may setup webex and try do something on my server
i tried snmpwalk directly and it works fine
also i metered time for snmp query 1.3.6.1.2.1 it takes over 6 minutes
time /usr/bin/snmpwalk -v3 -u prime -l authPriv -A "aaa" -X "xxx" -a SHA -x AES 10.9.212.134 1.3.6.1.2.1
>>cut outputreal 6m24.800suser 0m3.409ssys 0m2.450sstor2rrd@pl002-mg-xorux1 ~ $ /usr/bin/snmpwalk -v3 -u prime -l authPriv -A "aaa" -X "xxx" -a SHA -x AES 10.9.212.134 1.3.6.1.2.1.1.5SNMPv2-MIB::sysName.0 = STRING: PLOLB-n7k-esrvc1stor2rrd@pl002-mg-xorux1 ~ $ /usr/bin/snmpwalk -v3 -u prime -l authPriv -A "aaa" -X "xxx" -a SHA -x AES 10.9.212.134 1.3.6.1.2.1.1SNMPv2-MIB::sysDescr.0 = STRING: Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 7.3(2)D1(1), RELEASE SOFTWARE Copyright (c) 2002-2013, 2015 by Cisco Systems, Inc. Compiled 6/30/2017 23:00:00SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.12.3.1.3.1354DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3724592940) 431 days, 2:05:29.40SNMPv2-MIB::sysContact.0 = STRING: Email: @eservice.com.plSNMPv2-MIB::sysName.0 = STRING: PLOLB-n7k-esrvc1SNMPv2-MIB::sysLocation.0 = STRING: Olbrachta, szafa A10SNMPv2-MIB::sysServices.0 = INTEGER: 70SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIBSNMPv2-MIB::sysORID.2 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroupSNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBComplianceSNMPv2-MIB::sysORID.4 = OID: SNMP-MPD-MIB::snmpMPDComplianceSNMPv2-MIB::sysORID.5 = OID: SNMP-USER-BASED-SM-MIB::usmMIBComplianceSNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entitiesSNMPv2-MIB::sysORDescr.2 = STRING: View-based Access Control Model for SNMP.SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.SNMPv2-MIB::sysORDescr.4 = STRING: The MIB for Message Processing and Dispatching.SNMPv2-MIB::sysORDescr.5 = STRING: The management information definitions for the SNMP User-based Security Model.SNMPv2-MIB::sysORUpTime.1 = Timeticks: (3) 0:00:00.03SNMPv2-MIB::sysORUpTime.2 = Timeticks: (3) 0:00:00.03SNMPv2-MIB::sysORUpTime.3 = Timeticks: (3) 0:00:00.03SNMPv2-MIB::sysORUpTime.4 = Timeticks: (3) 0:00:00.03SNMPv2-MIB::sysORUpTime.5 = Timeticks: (3) 0:00:00.03 -
tomlee,
your comments are not confusing, but I think you have a different problem. Have you tried configuring v2c snmp version?
-
Hi guys,
it looks like these are 2 different issues.
However the maximum timeout limit is 900 (15minutes) for variable LAN_DATA_COLLECTION_TIMEOUT. So do not use greater value then 900.
1. Maks
Connection test passes fine, but data collection from your switch takes longer then 15 minutes. This should not happen. Maybe there is an issue with firewall.
@Pavel Can you pls follow it up? Thanks.
2. tomlee
We have found a bug when is snmpv3 used. We are working on a fix. We will let you know.
-
Hi,
thanks.
i can't use snmp2c because of security policy
i suspect that my output is also huge nexus7000 with over dozen extenders
-
Mark,are you sure that you have properly allowed network connection to the switch?we have already seen that one snmp query goes through the firewals but when there is many of them they are blocked.can you install tcpdump and check what happens on the network, replace XX in below example by your onetcpdump -nl -i enXX 'host IP_XXXX and udp port 161' | tee x.logsend x.log output after 10 minutes of running itsupport at stor2rrd.com
-
Pavel,
There are no firewalls in this network segment.
In version v6. 00 this worked. I assume that the problem is not in the switches.
-
ok, we see a problem in the code, working on a fix right now, we will let you know soon.
-
Hi,
this issue should be fixed in the following version.
https://www.stor2rrd.com/download/stor2rrd-2.60-6.tar
Can you upgrade your stor2rrd instances?
Upgrade is fast and easy: https://www.stor2rrd.com/upgrade.htm
Pls let us know, thanks.
-
Hi, KarelI have latest version Stor2rrdSTOR2RRD version2.60
-
Hi Maks,
yes i know, but in version 2.60 is a bug related to this issue.
Pls upgrade to the newer version 2.60-6. It should be fixed there.
Let us know, thanks. -
Hi, Karel
Where can I download release 2.60-6 ?
-
Hi Maks,
here: https://www.stor2rrd.com/download/stor2rrd-2.60-6.tar
Upgrade procedure: https://www.stor2rrd.com/upgrade.htm -
Hi
I confirm - after install patch switches appeared in menu.
PS: I have problem with LAN SWITCH | Nexus | corpo | FEX Port
There are no picture / graph. Cursor is working all the time but if i click details i can see graph.
I tested different web bowsers - the same.
Should I create separate new discussion?
Regards
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 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
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle