leiweibau / Pi.Alert

Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.
https://leiweibau.net
GNU General Public License v3.0
428 stars 31 forks source link

[Feature Request] Better docker support #315

Closed NossieUK closed 3 months ago

NossieUK commented 4 months ago

I have 50 + containers running on my poor little pi 8GB.... pi alert keeps detecting the containeras as new devices - it would be nice if it atleast understood what was going on.

image

Sadly without that - detection is a bit of a mess.

Thank you - Ian.

leiweibau commented 4 months ago

Since Docker containers are always given a new MAC address, they are also recognized as a new device. This is precisely the task of Pi.Alert. Do the recognized MAC addresses have a recognizable scheme? So are there parts that are always or often the same? Then you could enter this in the MAC Ignore list. This should significantly reduce the number of messages.

MAC_IGNORE_LIST = ['MAC-Address 1', 'MAC-Address 2'] This MAC address(es) (save with small letters) will be filtered out from the scan results. It is also possible to specify only the beginning of a MAC address. All addresses with the same prefix will also be filtered out.