-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mactrack no longer maps IP's to mac's #204
Comments
still leaving abended processes
and bailing out
|
ive been adjusting timings trying to figure out what may or may not work and have noticed that when set to run every for hours the poller runs for 4 hours and then is killed when the next run starts. Likewise if i set it to 8hours the poller runs for 8hrs and is then killed when the next run starts. I get mapping of IP's to macs for roughly half of the switches but not all so its getting hung up somewhere and I have no idea how to find where. |
Please show result of SQL command: |
|
SELECT count() FROM mac_track_temp_ports WHERE ip_address != '' AND (dns_hostname = '' OR dns_hostname IS NULL); |
try to run resolve manually and show at least few lines of output: |
|
for now workaround - in file mactrack_resolver.php around line 154 is change second line to Let me know if it helps. For my perspective - mactrack has a lot of unfinished work. I am not quickly able to tell if this is a bug or a feature. I will return here maybe in january. |
okay i think I have figured out what part broken. It's only mapping IP's for devices in site id 2 but none of the other sites that have their own routers and mac tables work anymore. But yes the process control for the resolver is worked around :) |
If I remember correctly, we were going to work on that as a new feature. |
The feature request was based on being able to say I'm in site A but my router is in site B and to be able to set that. In this case its always worked that Site A's router is in Site A and Site B's router is in site B. This normal functionality is only working for 1 site (first site ID) and none of the others. |
#205 is fixed Thanks! We still have the situation where mactrack's IP to port mapping logic is no longer aware of which site it is in. |
@jdcoats could you explain to me, where is problem with ip to port mapping logic? |
So this is still true? My Mactrack has been broken since i updated develop on 8/25. I did a manual run from cli on individual switch 9/29 and got IP mapped but otherwise it does not work through normal runs. Maybe it isn't problem with data gathering but with cleaning/retention |
I will revise last code changes from that time Did you change PHP version from 7 to 8 or upgrade SQL server at that time? |
Yes I did, updated system, Cacti and plugins
|
Sad that I don't know the date of the develop i had prior it could have been March or April so no way to be sure which changes broke it. |
did you update php from php7 to php8? |
I have both installed and i think that I was already switched to 8 by then, cant be sure it was a year ago :) |
It seems that I broke it one year ago. @jdcoats please try comment or delete in file mactrack_scanner.php these lines: And wait for matrack poller. It was added here: |
next run is in about 20min I'll let you know :) Thanks! |
I have IP's in the other sites now. Thank You! I've missed this feature for the last year. 👍 |
thank you for testing. |
My Mactrack has been broken since i updated develop on 8/25. I did a manual run from cli on individual switch 9/29 and got IP mapped but otherwise it does not work through normal runs.
The text was updated successfully, but these errors were encountered: