-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Device with "vendor-class-identifier" MAC Address and an "=" for IP Address #516
Comments
Hi @ajtatum ! It would be good to know where this device comes from. Could you please try to check if you can find which plugin is discovering this device? You can check enabled plugins and their output in the pialert.log or / and in the Plugins section where it might show up as well. You could try searching for "vendor-class-identifier" in the log file to see when it comes up the first time. It seems to have been discovered pretty recently, but maybe you will have to delete it from the database and re-initilaize the app it to be re-discovered so we can debug further. Let me know how you go and I can provide more guidance. |
I should have checked this before, but I recently turned on DHCP Leases and have OPNsense send over it's dhcpd.leases file over to my NAS where Pi.Alert runs. When I looked at the logs more closely in Pi.Alert, it seemed to be stemming from that Plugin so I took a look at the dhcpd.leases file (I kind of assumed that the format of this file was standard, but perhaps not). Here are a few entries:
Most entries look like the first on; however, there are a handful that appear as the last two. If the first object is what's to be expected; I could probably run some script to remove all lines that start with "uid" and "set vendor-class-identifier". If the output is totally off, then I guess I won't bother with the plugin. Any thoughts? (By the way, for now, I logged into the container and modified some of the Javascript that interacts with the data result set so that it filters out objects that have an improper IP or MAC, so at least now I can view the dashboard. This obviously isn't an ideal long term solution.) |
Any ideas in regards to the formatting of the dhcp.leases file? |
Hi @ajtatum, I implemented a MAC validity check which should fix this issue. The change is being deployed in the Cheers, |
closing as released 🚀 |
Describe the issue
There's a device on my network, I support, that's returning a MAC Address of "vendor-class-identifier" and an equal sign for the IP address. This breaks the front end in such a way that I can't view any devices. I'm not sure where this device is coming from or anything, but I was hoping to find a way so that it would simply skip the one record so that it can display the rest.
The text was updated successfully, but these errors were encountered: