<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/switchmap/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/switchmap/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 10 Aug 2020 09:42:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/switchmap/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#26 SNMP uptime collaps at 496 days</title><link>https://sourceforge.net/p/switchmap/bugs/26/?limit=25#1925</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Pete,&lt;/p&gt;
&lt;p&gt;thanks for your explanation. I am confused about the uptime of the switch. The webinterface shows more than 4 years and the max I can find in switchmap is 496days. Hope the 2 screenshots as attachment shows the difference.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br/&gt;
Ralf&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">R. Begemann</dc:creator><pubDate>Mon, 10 Aug 2020 09:42:10 -0000</pubDate><guid>https://sourceforge.net89949dead332d38f8c6f1f3e60766add6e564cc0</guid></item><item><title>SNMP uptime collaps at 496 days</title><link>https://sourceforge.net/p/switchmap/bugs/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi volks,&lt;br/&gt;
I wrote a small shell script, that collects the uptime value from the network switches in one html page. Going down the row, I noticed that there are no values higher than 496 days. If you look on the switch by cli you see the correct value. I'd like to request a change to display the correct value for the snmp uptime.&lt;br/&gt;
Best regards&lt;br/&gt;
Ralf&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 03 Aug 2020 09:32:15 -0000</pubDate><guid>https://sourceforge.netf9c43edeb000526f60fe0d4d7f6fcba1c0a37b81</guid></item><item><title>#24 Error in Switch.pm: No snmpv3 for SNMP::Info</title><link>https://sourceforge.net/p/switchmap/bugs/24/?limit=25#58ad/d957</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;as the subject explains: #24 Error in &lt;strong&gt;Switch.pm&lt;/strong&gt;: No snmpv3 for SNMP::Info &lt;br/&gt;
;)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Tue, 22 Nov 2016 08:32:08 -0000</pubDate><guid>https://sourceforge.neta45c6800de86038467ed4a4f75994ba7be240d2d</guid></item><item><title>#25 port information intermittently displayed incorrectly.</title><link>https://sourceforge.net/p/switchmap/bugs/25/?limit=25#b5cb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ok, from looking at the logic in the SetState function, I'm guessing that the port "type" is undefined. If you want to do some hacking, you can modify that function slightly and see what happens. In PopulatePorts.pm, in the SetState function, comment-out the line that says&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="x"&gt;if (defined &lt;/span&gt;&lt;span class="p"&gt;$&lt;/span&gt;&lt;span class="nv"&gt;Port&lt;/span&gt;&lt;span class="x"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;{&lt;/span&gt;&lt;span class="x"&gt;Type}) &lt;/span&gt;&lt;span class="err"&gt;{&lt;/span&gt;&lt;span class="x"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;and comment-out the line that has the matching right-bracket, 8 lines below.&lt;/p&gt;
&lt;p&gt;I wonder what the effect will be :-)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Mon, 12 Sep 2016 02:11:22 -0000</pubDate><guid>https://sourceforge.net622abd35f75ad7a2577e10861e7acd104379463a</guid></item><item><title>#25 port information intermittently displayed incorrectly.</title><link>https://sourceforge.net/p/switchmap/bugs/25/?limit=25#b0a2/e8a7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Pete,&lt;/p&gt;
&lt;p&gt;Yep have tried debug, when it fails it says something like "populatePorts::SetState: returning with state set to unknown".  (see log below from a successful and failed run of switchmap)&lt;/p&gt;
&lt;p&gt;I also run a packet sniff and it looks like the switches are returning the same SNMP info each time. My thought was that somehow switchmap was not parsing the returned data correctly somehow, but I'm not brainy enough to debug the perl in more depth.&lt;/p&gt;
&lt;p&gt;We have a 6807 with Sup6T which also occasionally fails to get any info from. This has the latest firmware and everything so can't update that.&lt;/p&gt;
&lt;p&gt;Thanks for you help. We really like switchmap.&lt;/p&gt;
&lt;p&gt;Cheers, Simon&lt;/p&gt;
&lt;p&gt;Successful&lt;br/&gt;
2016/09/05 10:01:16         SwitchUtils::GetSnmpTable: returning hash with 35 values&lt;br/&gt;
2016/09/05 10:01:16         PopulatePorts::SetStatesAndDaysInactive: called&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: called for port StackSub-St1-2&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: returning with State set to "Inactive"&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: called for port Gi1/0/5&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: returning with State set to "Active"&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: called for port Gi1/0/6&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: returning with State set to "Active"&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: called for port Gi1/1/4&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: returning with State set to "Disabled"&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: called for port Gi1/0/3&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: returning with State set to "Active"&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: called for port Gi1/0/9&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: returning with State set to "Disabled"&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: called for port Gi1/0/2&lt;br/&gt;
2016/09/05 10:01:16             PopulatePorts::SetState: returning with State set to "Active"&lt;/p&gt;
&lt;p&gt;Failed:&lt;br/&gt;
2016/08/30 12:28:19         SwitchUtils::GetSnmpTable: returning hash with 35 values&lt;br/&gt;
2016/08/30 12:28:19         PopulatePorts::SetStatesAndDaysInactive: called&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: called for port Gi1/0/24&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: returning with State set to "Disabled"&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: called for port Gi1/1/4&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: returning with State set to "Disabled"&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: called for port Gi1/0/14&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: returning with State set to "Disabled"&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetDaysInactive: called&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetDaysInactive: returning&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: called for port Gi1/0/2&lt;br/&gt;
2016/08/30 12:28:19             PopulatePorts::SetState: returning with State set to "Unknown"&lt;/p&gt;
&lt;p&gt;From: Pete Siemsen &lt;span&gt;[mailto:siemsen@users.sf.net]&lt;/span&gt;&lt;br/&gt;
Sent: Monday, 12 September 2016 9:49 a.m.&lt;br/&gt;
To: &lt;span&gt;[switchmap:bugs]&lt;/span&gt; &lt;a href="mailto:25@bugs.switchmap.p.re.sf.net"&gt;25@bugs.switchmap.p.re.sf.net&lt;/a&gt;&lt;br/&gt;
Subject: &lt;span&gt;[switchmap:bugs]&lt;/span&gt; #25 port information intermittently displayed incorrectly.&lt;/p&gt;
&lt;p&gt;Hmm. We have about 110 Cisco switches of various kinds, 2 of which are 3650s running version 03.07.03.E. The SwitchMap-produced web pages for those two switches look good - there are no ports that have state "Unknown".&lt;/p&gt;
&lt;p&gt;It's weird that it's intermittent. I think that when it fails, SwitchMap isn't getting some of the MIB data from the switches. I can't explain why. It might help to run with debugging turned on, and hope to catch it when it fails. Try running with the "-d 4 -f" command-line options. It'll create a file named SwitchMap.log. Note that you can also put a single switch name on the end of the command line to make SwitchMap run on only one switch. The only downside is that SwitchMap will erase the webpages for all the other switches, so if others rely on the SwitchMap pages (as they do at my site) you'll want to announce that you're debugging.&lt;/p&gt;
&lt;p&gt;Also, upgrading the code in the switches may help.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;&lt;a class="alink" href="/p/switchmap/bugs/25/"&gt;[bugs:#25]&lt;/a&gt;&lt;a href="https://sourceforge.net/p/switchmap/bugs/25/"&gt;https://sourceforge.net/p/switchmap/bugs/25/&lt;/a&gt; port information intermittently displayed incorrectly.&lt;/p&gt;
&lt;p&gt;Status: open&lt;br/&gt;
Group: v1.0_(example)&lt;br/&gt;
Created: Tue Aug 30, 2016 11:00 PM UTC by sossie07&lt;br/&gt;
Last Updated: Tue Aug 30, 2016 11:00 PM UTC&lt;br/&gt;
Owner: Pete Siemsen&lt;/p&gt;
&lt;p&gt;HiPete&lt;br/&gt;
We have about 100 cisco switchs of all models and ages and SwitchMap has been running well.&lt;/p&gt;
&lt;p&gt;Recently we have installed some new Cisco 3650 switches running IOS-XE 3.03.05. and we are finding that port information on these switches in intermittantly displayed in SM incorrectly.&lt;/p&gt;
&lt;p&gt;Intermitiantly the interface state (and other items are incorrecly reported) e.g on interfaces that are UP is displayed as "Unknown"&lt;br/&gt;
Information that is incorrectly collected for these ports and this includes:&lt;br/&gt;
state, days inactive, speed and all information about what the port is connected to.&lt;br/&gt;
Information that is correctly collected for these ports and this includes:&lt;br/&gt;
port,vlan, duplex, description&lt;/p&gt;
&lt;p&gt;This issue is intermittant, ie. sometimes all the information for the port is corrected retreived, and othertimes not. If it gets it wrong for one port on the switch all ports are wrong.&lt;/p&gt;
&lt;p&gt;We are running SM 13.1 but have also tried SM 14 with the same issue. We are running SM on windows 2012r2&lt;/p&gt;
&lt;p&gt;SNMP seems fine, I'm wondering if its an issue parsing the SNMP response but I don't know why that woudl change.&lt;/p&gt;
&lt;p&gt;Does anyone have any suggestions as to how I can troubleshoot this. I am familiar with running SM in debug mode and have done that but cant see anything obvious.&lt;/p&gt;
&lt;p&gt;Thanks, Simon&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;Sent from sourceforge.net because you indicated interest in &lt;a href="https://sourceforge.net/p/switchmap/bugs/25/"&gt;https://sourceforge.net/p/switchmap/bugs/25/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To unsubscribe from further messages, please visit &lt;a href="https://sourceforge.net/auth/subscriptions/"&gt;https://sourceforge.net/auth/subscriptions/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Mon, 12 Sep 2016 00:34:56 -0000</pubDate><guid>https://sourceforge.netb02eb0f4f1eb55c895281252cf75b774f7576135</guid></item><item><title>#25 port information intermittently displayed incorrectly.</title><link>https://sourceforge.net/p/switchmap/bugs/25/?limit=25#b0a2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hmm. We have about 110 Cisco switches of various kinds, 2 of which are 3650s running version 03.07.03.E. The SwitchMap-produced web pages for those two switches look good - there are no ports that have state "Unknown".&lt;/p&gt;
&lt;p&gt;It's weird that it's intermittent. I think that when it fails, SwitchMap isn't getting some of the MIB data from the switches. I can't explain why. It might help to run with debugging turned on, and hope to catch it when it fails. Try running with the "-d 4 -f" command-line options. It'll create a file named SwitchMap.log. Note that you can also put a single switch name on the end of the command line to make SwitchMap run on only one switch. The only downside is that SwitchMap will erase the webpages for all the other switches, so if others rely on the SwitchMap pages (as they do at my site) you'll want to announce that you're debugging.&lt;/p&gt;
&lt;p&gt;Also, upgrading the code in the switches may help.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Sun, 11 Sep 2016 21:49:08 -0000</pubDate><guid>https://sourceforge.netd3c5b40f478aa7b3efb757277d4322a24da0102e</guid></item><item><title>port information intermittently displayed incorrectly.</title><link>https://sourceforge.net/p/switchmap/bugs/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;HiPete&lt;br/&gt;
We have about 100 cisco switchs of all models and ages and SwitchMap has been running well. &lt;/p&gt;
&lt;p&gt;Recently we have installed some new Cisco 3650 switches running IOS-XE 3.03.05. and we are finding that port information on these switches in intermittantly displayed in SM incorrectly.&lt;/p&gt;
&lt;p&gt;Intermitiantly the interface state (and other items are incorrecly reported) e.g on interfaces that are UP is displayed as "Unknown"&lt;br/&gt;
Information that is incorrectly collected for these ports and this includes:&lt;br/&gt;
state, days inactive, speed and all information about what the port is connected to.&lt;br/&gt;
Information that is correctly collected for these ports and this includes:&lt;br/&gt;
port,vlan, duplex, description&lt;/p&gt;
&lt;p&gt;This issue is intermittant, ie. sometimes all the information for the port is corrected retreived, and othertimes not. If it gets it wrong for one port on the switch all ports are wrong.&lt;/p&gt;
&lt;p&gt;We are running SM 13.1 but have also tried SM 14 with the same issue. We are running SM on windows 2012r2&lt;/p&gt;
&lt;p&gt;SNMP seems fine, I'm wondering if its an issue parsing the SNMP response but I don't know why that woudl change. &lt;/p&gt;
&lt;p&gt;Does anyone have any suggestions as to how I can troubleshoot this. I am familiar with running SM in debug mode and have done that but cant see anything obvious.&lt;/p&gt;
&lt;p&gt;Thanks, Simon&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sossie07</dc:creator><pubDate>Tue, 30 Aug 2016 23:00:21 -0000</pubDate><guid>https://sourceforge.net89c516da363c3f1270a18584839d29554fb329ba</guid></item><item><title>#24 Error in Switch.pm: No snmpv3 for SNMP::Info</title><link>https://sourceforge.net/p/switchmap/bugs/24/?limit=25#58ad</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Line 261 in what file?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Wed, 24 Feb 2016 16:22:37 -0000</pubDate><guid>https://sourceforge.net5fcf9efe205cd7764f35d6290a559000eaa9a309</guid></item><item><title>Error in Switch.pm: No snmpv3 for SNMP::Info</title><link>https://sourceforge.net/p/switchmap/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The code from line 261ff is cousing trouble with snmpv3. It is not implemented here and causing a die! (which breaks the whole program).&lt;br/&gt;
I am not sure, when this code is needed, but it was the case with our HP Switches. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 24 Feb 2016 14:57:56 -0000</pubDate><guid>https://sourceforge.net8e73db9a9e541fd251583b886dee6c1bc78056cd</guid></item><item><title>#15 Trunk vlan overrides access vlan on older Cisco switches.</title><link>https://sourceforge.net/p/switchmap/bugs/15/?limit=25#4c8e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All, just adding an up vote to this request... we have a similar issue in our Cisco environment.  Certain Network Engineers like flushing out configs with trunk settings ( just-in-case a port ever got flipped to trunk mode ), but indeed SwitchMap does display the Trunk Vlan rather then the Access Vlan.  Likewise, the resultant html pages (e.g. Vlans) don't show all the ports actually on a vlan.&lt;/p&gt;
&lt;p&gt;I haven't tried Petr's patch yet, was hoping that if it had been successful it would have been rolled into code trunk by now; i.e. 13.1&lt;/p&gt;
&lt;p&gt;Pete any thoughts?  And always, extreme thanks for this useful product!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Thu, 20 Nov 2014 01:00:25 -0000</pubDate><guid>https://sourceforge.netdc24f49d8f4e3f4ed6b329a0d87f559bb270b2d4</guid></item></channel></rss>