Change the value of the $ArpMacLimit in your ThisSite.pm file. The default value is 10. If you change it to, like, 100, it will "fix" the problem. See the comment right above the definition of $ArpMacLimit for an explanation of what it does.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see the issue. After every upgrade, I would just copy over my ThisSite.pm. Well, it looks like you have made some additions to this file. I am going to copy over the new file and modify that to add in my switches and see what happens.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you run GetArp.pl? It creates a file named "MacList". Without a decent MacList file, SwitchMap will be unable to translate MAC addresses to IP addresses, and you'll see very little information about IP addresses or DNS names.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps your @routers array (defined in ThisSite.pm) isn't complete. It needs to have the names of your core routers - the ones that have interfaces onto your subnets. It may be that you've chosen to run GetArp.pl only in the middle of the night, when all the ARP coaches in your routers are empty. Try running GetArp.pl every 1 or 2 hours. IF you run it manually at about 2:00pm (when the greatest number of machines are active in a typical site) you should get a reasonable MacList file. Also, you might try running GetArp.pl with "-d 2" to see debugging messages.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I flush the dns on the server switchmap is running on. I then run the getarp, scanswitch, and switchmap perl scripts. I ran getarp in debug and do not see any errors (other than one of my sites is down due to a fire).
I am scanning all my switches.
This worked fine in v12 on the exact same switches.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems that GetArp.pl isn't putting enough data in your MacList file. I've attached a
slightly better GetApl.pl. If you run it with logging, it now shows how many ARP
entries it gets from each switch. Please try it.
Just upgraded to 13.1, and everything works, except I am seeing a lot of "MACs connected to this port, display limit is" in the MAC fields.
How can I fix?
Anyone? Thoughts?
Change the value of the $ArpMacLimit in your ThisSite.pm file. The default value is 10. If you change it to, like, 100, it will "fix" the problem. See the comment right above the definition of $ArpMacLimit for an explanation of what it does.
Pete,
I looked in my ThisSite.pm and did not see that string.
Should I just add it in?
I see the issue. After every upgrade, I would just copy over my ThisSite.pm. Well, it looks like you have made some additions to this file. I am going to copy over the new file and modify that to add in my switches and see what happens.
OK, redid everything and works like a charm!
OK, I take that back. Everything runs without errors, but hardly any of the IP address or DNS info is getting populated.
Have you run GetArp.pl? It creates a file named "MacList". Without a decent MacList file, SwitchMap will be unable to translate MAC addresses to IP addresses, and you'll see very little information about IP addresses or DNS names.
Yes it does.
I even deleted it and it re-created it. It has data in it, but it's not nearly as full as it should be.
Thoughts?
Perhaps your @routers array (defined in ThisSite.pm) isn't complete. It needs to have the names of your core routers - the ones that have interfaces onto your subnets. It may be that you've chosen to run GetArp.pl only in the middle of the night, when all the ARP coaches in your routers are empty. Try running GetArp.pl every 1 or 2 hours. IF you run it manually at about 2:00pm (when the greatest number of machines are active in a typical site) you should get a reasonable MacList file. Also, you might try running GetArp.pl with "-d 2" to see debugging messages.
I run everything manually.
I flush the dns on the server switchmap is running on. I then run the getarp, scanswitch, and switchmap perl scripts. I ran getarp in debug and do not see any errors (other than one of my sites is down due to a fire).
I am scanning all my switches.
This worked fine in v12 on the exact same switches.
It seems that GetArp.pl isn't putting enough data in your MacList file. I've attached a
slightly better GetApl.pl. If you run it with logging, it now shows how many ARP
entries it gets from each switch. Please try it.
Installed and ran.
I appears that all the switches on my LAN are fine...and all the ones on the WAN are the problem.