Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I nuked all the tables for mactracker.
I reimported the .sql file.
now, I have no devices configured in mactracker, but I am still getting this error. i.e. I have it set to poll every 1hour:
I think the fix to that is back a couple posts (pg 33 )
You'll have to modify some code. I went ahead and sent a patch in for the plugin a week or two ago, but I haven't heard anything back. hopefully that will get resolved.
psyber wrote:I think the fix to that is back a couple posts (pg 33 )
You'll have to modify some code. I went ahead and sent a patch in for the plugin a week or two ago, but I haven't heard anything back. hopefully that will get resolved.
Sorry, I have been a bit pre-occupied with trying to work on the new Event Manager stuff, and migrating my others hosts to the new server (its major pain). I should have time this weekend to get everything done.
psyber wrote:I think the fix to that is back a couple posts (pg 33 )
You'll have to modify some code. I went ahead and sent a patch in for the plugin a week or two ago, but I haven't heard anything back. hopefully that will get resolved.
Great!! Thanks a ton!
Thanks Cigamit. I think this plugin could really help around here, and I really want to get it working.
Ok, I implemented the code into poller_macktrack.php as suggested, and all errors went away. Problem is, when you look at the 'Device Tracking - Device Report View' all the devices show 'Status' error. And, the only are with any information in it is the device view and the site view. The columns populated are the 'IP's' column and the 'Last Duration' column. I have 10 devices in the mactracker and they are all cisco: 1 2821 router, 8 3550s, and 1 3750. Any suggestions?
I have some 2950s that were showing error status and I noticed that the parsed model did not match any of the equipment templates (probably the IOS release, its a couple years old) so I had to create a new template (basically a copy of the others) that resolved that issue though its still showing all the trunk ports but I can live withthat for now. On another switch I had t o change the function to generic switch device or something like that (i'm going from memory)
psyber wrote:I have some 2950s that were showing error status and I noticed that the parsed model did not match any of the equipment templates (probably the IOS release, its a couple years old) so I had to create a new template (basically a copy of the others) that resolved that issue though its still showing all the trunk ports but I can live withthat for now. On another switch I had t o change the function to generic switch device or something like that (i'm going from memory)
hope that was helpful.
Well, I tried to change one of my L3switches to 'Device Type = router' and it went to an up status at next poll cycle. It looks like a problem with the functions for the other switches.
"Scanning Function
The MacTrack scanning function to call in order to obtain and store port details. The function name is all that is required. The following four parameters are assumed and will always be appended: 'my_function($site, &$device, $lowport, $highport)'. There is no function required for a pure router."
That is out of the interface from "Mac Track Device Types [edit: Catalyst 3550 Switch]". The last line kind of explains why it changed to up when I called it a router.
The problem is that I don't know what to change, and what to change it to to get a 'function' that will properly scan my switches.. Any thoughts?
Got it working.. Just needed to create new 'Device Types' - an exact copy of the ones there, just with the correct 'version' information in the 'System Description Match' field, i.e. C3750-IPSERVICESK9-M.
Hope this helps other people.. Not a problem with the program, just user not knowing how the plugin works ..
I'm wondering whats going on with my wireless devices. I've verified that the OIDs used in the generic wireless function work on these Cisco APs, and they do. When I run an snmpwalk using them, I get addresses back, but mactrack isn't putting anything in the database. Anyone else have Cisco APs and want to share notes??
Let me clarify. In the mactrack devices page I see:
Host Site Name Status Hostname Device Type Total User User Trunk Active Last
Desc IPs Ports Ports Up Ports MACs Duration
1a1 Building Up 1a1.ecom.mycompany.com Switch/Hub N/A 4 3 0 0 0.3
2a1 Building Up 2a1.ecom.mycompany.com Switch/Hub N/A 4 3 0 0 0.4
2a2 Building Up 2a2.ecom.mycompany.com Switch/Hub N/A 4 3 0 0 0.5
2a3 Building Up 2a3.ecom.mycompany.com Switch/Hub N/A 4 3 0 0 0.3
2a4 Building Up 2a4.ecom.mycompany.com Switch/Hub N/A 4 3 0 0 0.3
It should be seeing at least 1 association/MAC on each of these (I'm graphing those connections successfully even).
Well, before I left my last job, where I was making updates regularily to MacTrack, I was attempting to break the 802.1x storage with Cisco AP's. Unfortunately, I made my announcement to leave the company right in the middle of completing that development and therefore spent the last two weeks on training my replacement rather than finishing the work.
At this point, if you would like to have me finish this for you and the Cacti community, it will take a donation to my Paypal yearly Golf outing in Myrtle Beach to get me to make changes in that section of the code. You can PM me if you are interested.
I guess what I am trying to say is that I would like to finish that up, but in order to help me prioritize, I need further incentive.
Larry
True understanding begins only when we realize how little we truly understand...
TheWitness wrote:Well, before I left my last job, where I was making updates regularily to MacTrack, I was attempting to break the 802.1x storage with Cisco AP's.
What do you mean by "break" and "802.1x storage"?
TheWitness wrote:I guess what I am trying to say is that I would like to finish that up, but in order to help me prioritize, I need further incentive.
Man-o-man do I wish I could help you out with that trip - and take it with you. Unfortunately my employer doesn't pay me enough and I only want it for them anyway...
I can supply you with whatever I can scrape from these devices though. Looking through the function for generic wireless devices I noticed that one of the OIDs being looked at does not exist (.1.3.6.1.2.1.17.2.7.0) on the cisco AP, so perhaps the following information would be helpful to you - or anyone else picking up the torch:
I have a problem where, in the gui "Site IP Range Report" produces nothing for none of my sites - but if I go to the database and select * from mac_track_ip_ranges, I get lots of stuff.. Anyone know what I could be doing wrong not to have it show up in the gui?