jokob-sk / NetAlertX

🖧🔍 WIFI / LAN intruder detector. Scans for devices connected to your network and alerts you if new and unknown devices are found.
GNU General Public License v3.0
2.97k stars 178 forks source link

Mikrotik plugin IP addresses not showing up #835

Closed stanelie closed 1 week ago

stanelie commented 1 week ago

Hello. I have just enabled the Mikrotik plugin, and it added all the devices from the DHCP leases, but they have no IP addresses populated . Is there anything I can do to fix this?

Screen Shot 2024-10-10 at 8 22 39 AM

jokob-sk commented 1 week ago

Hi there,

Can you please confirm that the devices don't show up even after clearing the cache in the browser and top bar by clicking the 🔃 icon?

If so, can you please share your app.log section of when the plugin executes? Please follow this guide to provide the relevant logs: https://github.com/jokob-sk/NetAlertX/blob/main/docs/DEBUG_PLUGINS.md

Thanks in advance, J

stanelie commented 1 week ago

Oups, never mind, I shows the IP addresses now. Probably a cache problem, as you mentioned. You can close this ticket. Thanks!

Oups again, not fixed, I will post the log shortly.

stanelie commented 1 week ago

I've sent the log to you via email. Thanks!

stanelie commented 1 week ago

I've just sent you another log file, with only the mikrotik plugin enabled this time.

I've had to run the plugin using the command line provided in the settings page from within the container for it to populate the app.log file.

jokob-sk commented 1 week ago

Hi @stanelie ,

Thanks for the logs, I think I've found the issue.

This should be available in the next release. It would be great if you could test this. Can you please switch to the netalertx-dev docker image (backup everything at first), in about 15 minutes (or after the last action finishes) from now.

Make sure you refresh your browser cache - and click the 🔄 refresh button in the top right corner.

Thanks in advance, j

stanelie commented 1 week ago

Yup! That fixed it! Thanks again!

jokob-sk commented 1 week ago

released -> closing