I can test the the snmp request, it works at the linux system where the switchmap run. snmpwalk -v2c -c xxxxxxxx -ObentU 10.100.160.1 .1.0.8802.1.1.2.1.4.1.1.9 I get the needed wlan AP Names who are connect to the cisco switchports. But in switchmap this data are not shown in the LLDP collumn. What can i check or make, that i get this informationes into the overview?
Hello everyone, I have a switchmap 14.0 running here. But due to the fact that more and more switches are probably only doing LLDR and no longer CDP, more and more switches are missing the information on host name and IP for the devices connected to the switch ports. What is the best way to check whether all the modules required for the LLDR query in switchmap 14 are working or whether something is missing? I would be very happy to receive helpful answers. Thanks, Oliver
Hi Pete, Thanks for your input. I use Switchmap nice for a long time, it is a wonderful tool. I recently made a switch IOS update to test for a rollout. Then these error messages started below: Use of uninitialized value in hash element at /var/www/switchmap/GetPortNameToVlanTable.pm line 36. Use of uninitialized value in hash element at /var/www/switchmap/GetPortNameToVlanTable.pm line 36. Use of uninitialized value in hash element at /var/www/switchmap/PopulatePorts.pm line 231. Use of uninitialized...
somebody can help me, i get these error messages since some time. with every switch exchange there are 2 error messages. please help me. thanks Use of uninitialized value in hash element at /var/www/switchmap/PopulatePorts.pm line 131. Use of uninitialized value in hash element at /var/www/switchmap/PopulatePorts.pm line 131. Use of uninitialized value in hash element at /var/www/switchmap/PopulatePorts.pm line 399. Use of uninitialized value in hash element at /var/www/switchmap/PopulatePorts.pm...
Thank you Sascha for creating the multi-threaded version of switchmap. I just upgraded to a new server and had a chance to try the multi-threaded version, which saves a lot of time when running SwitchMap.pl.
Hi everybody, I'm monitoring my Zyxel switches with Switchmap but there's a mismatch in the port numbering. the numbering begins by "O", thus if port #5 is in vlan200, it's shown that it's port #4 which is in that vlan. Here's 2 snapshots to illustrate this mismatch. The Zyxel support tells me the problem is probably coming from Swichmap pointing to the OID ifDescr ('1.3.6.1.2.1.2.2.1.2'), and the solution would be to point to ifIndex. ('1.3.6.1.2.1.2.2.1.1') Where can I make this change ? Regards...
Hello, I found this project recently and have implemented in the network. It works very good. And I found this MacTracker feature that Pete has mentioned. I have tried googling it but did not find anything. Has anyone implemented this history with mysql database that could share some information in how to implement it? I would not like to use another tool like netdbtracking. Thank you!!
Not sure if this problem is unique to our environment, but I wanted to post it here in case anyone else has the same issues.. I had to do a bit of a hack to get SNMPv3 working, see my previous post. But I also was moving our SwitchMap setup to a newer Ubuntu server at the same time. The SNMPv3 changes I mentioned above got most everything working for us, but my HP(H3C) stuff on the new server would still fail with the following error while running SwitchMap.pl. We assumed this was because of newer...
Hi! Am 04.03.22 um 20:33 schrieb TamT: Hi Sascha, I'm currently running Switchmap v14.0. Besides adding $NumThreads = 5; to ThisSite.pm, what changes do I have to make to run the multi-threaded version? Thanks Checking out the threading branch of [1] and your adjustment should be enough. Please, report back if does not work. Regards, Sascha [1] https://gitlab.com/sascha.l.teichmann/switchmap/-/tree/threading
Hi Sascha, I'm currently running Switchmap v14.0. Besides adding $NumThreads = 5; to ThisSite.pm, what changes do I have to make to run the multi-threaded version? Thanks
Hello together, We have created a multi-threaded version of switchmap [1]. Background: If you have a large system of switches to scan it could take a long time to scan the switches sequentially. In this version you can specify # Number of threads to scan the switches. $NumThreads = 5; in your ThisSite.pm to scan $NumThreads switches in parallel. Maybe you find this useful. Kind regards, Sascha L. Teichmann [1] https://gitlab.com/sascha.l.teichmann/switchmap/-/tree/threading
Hey Pete! We just recently switched everything to SNMPv3, and ran into some issues.. But I'm curious about why you say that Switchmap doesn't support SNMPv3? Its a configuration option in ThisSite.pm, and for our Cisco gear, SNMPv3 seems to work just fine. The place we ran into issues is with our H3C gear, when trying to access our H3C equipment from Switchmap via SNMPv3, it fails. After some debugging, and digging around, I found that this is because Switch.pm is only setup to pass SNMPv2 credentials...
Hi Pete, 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. Best regards Ralf
I think you're misinterpreting the "Days inactive" field. It has nothing to do with the SNMP uptime value. Days inactive is a counter that Switchmap maintains for each port. It starts counting on the first day that you started running SwitchMap.That's why none of the values are greater than 496: you probably installed SwitchMap 496 days ago. Days inactive is a hint about how long a given port has been inactive, and therefore how available the port might be to be used for a new purpose. In other words,...
SNMP uptime collaps at 496 days
Hi folks, I've got running switchmap version 13 and 14 to some cisco switches with cdp enabled and discovered some differences: Version 13 is able to display the type of WLAN Accesspoint (AIR-APxxxx) and the hostname (myhostname....) via CDP. Version 14 is only able to display the type of WLAN Accesspoint (AIR-APxxxx) without the hostname. If I enable LLDP, I get the hostname (like above) and some additional information. Can someone point me in the right line of code to change this behavior, that...
I noticed that the vast majority of 'inactive' ports on the statistics page were being listed as '<60 days', which was definitely not accurate. Looking at Stats.pm, I found this: if ($Port->{DaysInactive}) { $TotalShortTermInactivePorts++; $shortterminactive++; } else { $TotalLongTermInactivePorts++; $longterminactive++; } The condition here seems like it would almost always be 'true'. I thought this might work better: if ($Port->{DaysInactive}<60) { $TotalShortTermInactivePorts++; $shortterminactive++;...
IOS Fuji not working right?
SwitchMap does not support SNMPv3. To speak SNMP to routers and switches, SwitchMap uses two libraries: mostly Net::SNMP and a little bit of SNMP::Info. Both those libraries support SNMPv3, but when calling the library functions, SwitchMap doesn't pass in any SNMPv3 arguments. It's a feature that someone could add. We don't use SNMPv3 at my site, so I don't personally have an incentive to add it. Cheers, -- Pete On Thu, Aug 22, 2019 at 7:44 AM Ticket #11: SNMPv3 11@support-requests.switchmap.p.re.sourceforge.net...
SNMPv3
Hi, more and more Security is requested and needed and because of this, my question are, how can I implement SNMPv3 into switchmap? Many Thanks, Oliver
Glad you got it resolved. I started to compose a response, then saw that you'd fixed it. Please let me know how it goes. On Fri, Jun 28, 2019 at 9:15 AM Emrys Koenigsmann emrys767@users.sourceforge.net wrote: I'm standing up a new instance of SwitchMap 14.0 (replacing our old 13.1 instance) and am running into a problem with the initial run of GetArp.pl (full debug below). I've verified permissions on the $DestinationDirectory and $StateFileDirectory, and I'm a bit stumped. Can anyone point me in...
This is resolved. I found that I had a typo in the $StateFileDirectory in ThisSite.pm.
I'm standing up a new instance of SwitchMap 14.0 (replacing our old 13.1 instance) and am running into a problem with the initial run of GetArp.pl (full debug below). I've verified permissions on the $DestinationDirectory and $StateFileDirectory, and I'm a bit stumped. Can anyone point me in the right direction? 2019/06/28 15:06:05 main::: GetArp version 14.0 starting... 2019/06/28 15:06:05 Timer::new: called 2019/06/28 15:06:05 Timer::new: returning 2019/06/28 15:06:05 SnmpCommunities::initialize:...
Add Support for Huawei Switches
What settings you are using? Where you have place the SNMPv3 logons?
Hi, all our switches are in SNMPv3 now and I'm using switchmap for more than 6 month without any problems. Your software is really helpful :) Thank you.
I think you need to install SNMP::Info onto your system. There are some hints in the README file. I'm sorry they aren't more comprehensive. I installed the SNMP::Info library as a fall-back when the Net::SNMP library fails, which happens rarely. The only example I know of is when talking to HP equipment. I don't have HP equipment to test against - this was done to help a user at another site. So it's not well documented. On Thu, Oct 4, 2018 at 8:51 AM Ticket 10 10@support-requests.switchmap.p.re.sourceforge.net...
Undefined subroutine &SNMP::Info
On Linux you will need to "cpan SNMP::info" and Windows you will need to "ppm" then "search net-snmp" then install it. I believe Windows is "install Net-SNMP" but I'm not using windows.
I'm sorry, SwitchMap doesn't support SNMPv3. On Thu, Jun 21, 2018 at 7:27 AM, Ticket 35 35@feature-requests.switchmap.p.re.sourceforge.net wrote: [feature-requests:#35] https://sourceforge.net/p/switchmap/feature-requests/35/ SNMP v2 and V3 combined* Status: open Group: Next_Release_(example) Labels: SNMP V3 Created: Thu Jun 21, 2018 01:27 PM UTC by Anonymous Last Updated: Thu Jun 21, 2018 01:27 PM UTC Owner: nobody Hi, I used the $CmstrFile to add 2 SNMPV2 community which is working fine. But now...
SNMP v2 and V3 combined
When trying to add a Cisco SG300/SG350 the following error is displayed. However on catalyst is working fine. Error couldn't open SNMP::Info session perhaps wrong device FQDN or wrong community Can someone help me please? Thanks in advance.
Thanks both :)
Hi, Can someone help me please. How can I add HP switches and cisco SG300-28 Port, SG300-52 Port and even the SG350 models in switchmap. Thanks in advance.
Hello, i use Switchmap 14 under Debian. My Cisco Catalyst Switches are ok but if i add other switches (for example Cisco Small Business Switches, Cisco WLAN Accesspoints) then perl SwitchMap.pl show the error: couldn't open SNMP::Info session to Switchxxx, perhaps wrong device FQDN or wrong community SNMP is on all switches activated. Are only Catalyst-Switche supported?
switchmap has to access control that I'm aware of. I configure access protection in my web server. See the manual for your web server for how to do that. -Josh On Wed, Jan 24, 2018 at 10:49 AM, Alexander alex2008a@users.sf.net wrote: Is it possible Switchmap Web access protect with password? If so, how can you configure? Is it possible Switchmap Web access protect with password? Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/switchmap/discussion/378009/ To unsubscribe...
Is it possible Switchmap Web access protect with password? If so, how can you configure?
Hallo community, after update on switchmap ver. 14.0 don't show DNS Name and IP address et the Switchmap. We have only Cisco devices. thanks, Alex
Out of date Windows install walk-through - issues with Perl module installs.
Changing to Net::SNMP did not work, the Error appears only later. My Main problem is the missing netsnmp.lib to get SNMP::Info working
I follow a guide put together from this site. http://www.booches.nl/2009/12/step-by-step-guide-cactiez-with-switchmap/. Often times installing Log::Dispatch::Screen fails. I try to force and still won't install. I am using v13.1 of switchmap. I also found that Time::HiRes was needed. That fails at times as well and I have had Module::Build also fail. Never very consistent. CentOS is 6.9 and fully up to date.
What errors do you get? I may be able to help you comment-out the Snmp::Info parts, which would avoid a tree of module dependencies.
I have been using switchmap for several years. Run it on Centos 6 in conjunction with Cacti. However, for the last few months, I cannot get the required Perl modules installed. Since I have so many already installed, I am suspecting updates cause the problem. Anyone else have this problem? As it stands now, I can't do a new install using my platform.
Josh is quite right. To make the warnings about "given" go away, replace the file "ModuleList.pl" with the attached version. It has the same logic without using "given".
It looks like you're running too old a version of perl. The given/when statement was added in 5.10. Are you perhaps still running perl 5.8? Please send some details about your environment and how you installed switchmap. On Tue, Jul 4, 2017 at 6:11 AM, Leonella Camilleri nell87@users.sf.net wrote: Hi I am having troubles installing it. As soon as I run the Run SwitchMap.pl. output: "given is experimental at /var/www/html/switcmap/ModuleList.pm line 72" "when is experimental at /var/www/html/switcmap/ModuleList.pm...
Hi I am having troubles installing it. As soon as I run the Run SwitchMap.pl. output: "given is experimental at /var/www/html/switcmap/ModuleList.pm line 72" "when is experimental at /var/www/html/switcmap/ModuleList.pm line 73" "when is experimental at /var/www/html/switcmap/ModuleList.pm line 74" "given is experimental at /var/www/html/switcmap/ModuleList.pm line 77" "when is experimental at /var/www/html/switcmap/ModuleList.pm line 78" "when is experimental at /var/www/html/switcmap/ModuleList.pm...
Due to work pressure, I don't plan to add features to SwitchMap anytime soon, sorry. On Sun, May 21, 2017 at 8:48 PM, noreply@in.sf.net wrote: hi any update on when we can expect this feature [feature-requests:#19] https://sourceforge.net/p/switchmap/feature-requests/19/ Make Switchmap VRF Aware* Status: open Group: Next_Release_(example) Created: Fri May 04, 2012 11:39 AM UTC by Anonymous Last Updated: Sat May 20, 2017 06:31 AM UTC Owner: nobody Where VLAN's, and consequently ports and IP Subnets...
hi any update on when we can expect this feature
Probably itis caused by https://sourceforge.net/p/switchmap/bugs/24/#
Glad to hear it! On Tue, Apr 11, 2017 at 11:16 AM, Jared jrad101@users.sf.net wrote:...
we can close this, it was an issue with Apache2. I ended pointing the index file...
So today I am back to where I was at the begining. Which is the CSS styelsheet is...
So today I am back to where I was at the begining. Which is the CSS styelsheet does...
Pete, I fixed the permission issue (it was in the apache .conf file). Not sure how...
Pete, I fixed the permission issue (it was in the apache .conf file). Not sure how...
Pete, I fixed the permission issue (it was in the apache .conf file). Not sure how...
Pete, I meant /usr/web/nets/internal/portlists, quick typing on my part. I rebuild...
There may be a hint in the apache log files. On my system, they are /var/log/apache2/access.log...
Pete, So I wiped everything and started from scratch. I made directories such as...
Pete, So I wiped everything and started from scratch. I made directories such as...
Pete, Thanks for repsonding, however I did as you suggested and now everything is...
When I wrote SwitchMap, I put the code in a directory that my web server could access,...
Fairly new to switchmap, however I have it up and running. However I am using Apache...
I think this could be solved by adding code to SwitchMap to make it query switches...
Hello, in our company we have about 100 swicthes and switchmap does a great Job here....
I think I resolved my issue I found I needed to add snmp v3 contexts to my switches...
Recently upgraded to switchmap v14.0 and I am noticing that the information for what...
Recently upgraded to switchmap v14.0 and I am noticing that the information for what...
I think I may have found the issue, after doing some research it seems that windows...
Recently upgraded to switchmap v14.0 and I am noticing that the information for what...
Recently upgraded to switchmap v14.0 and I am noticing that the information for what...
Recently upgraded to switchmap v14.0 and I am noticing that the information for what...
Hi Pete, In my opinion a switch port should only show up once based on which VRF...
I had the same problem. Solution: Open file Switch.pm and change use SNMP::Info 3.30;...
I had the same problem. Solution: Open file Switch.pm and change use SNMP::Info 3.30;...
The ifAdminStatus table is supported in most SNMP implementations, so I (carefully)...
Hi, I upgraded 2 stacks of old switches with new 2960s and one stack is working with...
Thank you for the tip, Andrew...i'll give NetDB a try...IMHO to have devices historical...
This is one downside I've had with switchmap too. At first the way I dealt with it...
Hello, is it possible with switchmap to keep and track down mac addresses that were...
VRFs are a router thing. SwitchMap started as a program that shows inormation about...
hi just want to check any update on this request
as the subject explains: #24 Error in Switch.pm: No snmpv3 for SNMP::Info ;)
Sorry, I wasen't logged in, when I submitted the patch ;)
Patch for keeping old entries in MacList file
I'm beginning to think that there is no generic way to identify ports in the err-disable...
Ok, from looking at the logic in the SetState function, I'm guessing that the port...
Hi Pete, Yep have tried debug, when it fails it says something like "populatePorts::SetState:...
SwitchMap doesn't support a specific set of switches. Instead, it polls for several...
Hmm. We have about 110 Cisco switches of various kinds, 2 of which are 3650s running...
Hi Oliver, Perhaps you have the same issue as we do. Are you also missing: state...
port information intermittently displayed incorrectly.