Pi.Alert picking up Docker networks and containers hosted on same server

Hi all,

I have Pi.Alert (along with Pi.hole) running on a RPi4. I recently moved my Dokuwiki instance (running in Docker) onto the same device and now Pi.Alert is complaining about lots of new devices. If I look at the IP addresses I can see they correspond to the network interfaces created by Docker. Is there any way to exclude these networks from Pi.Alert?

Thanks

10 points · 6 comments · view on lemmy.world

6 Comments

boerbiet@feddit.nl · 2 pts · 2y (1 reply)

If you run both Pi.Alert and Pi-hole, Pi.Alert will get the information on network devices from Pi-hole. The only way of I know of excluding active devices would be adding their MAC addresses to MAC_IGNORE_LIST in pialert.conf.

giddy@aussie.zone · 2 pts · 2y

After adding about 20 MAC addresses I gave up and just moved pi.alert to my secondary dns server (a pi zero) which has no docker

giddy@aussie.zone · 2 pts · 2y (1 reply)

Has anyone tried the docker variant of pi.alert? I presume that one must be smart enough to filter out docker ‘devices’

darcmage@lemm.ee · 2 pts · 2y

I have it running in a docker container and the subnet setting seems to work. Also should mention it's restricted to eth0.

darcmage@lemm.ee · 1 pts · 2y (1 reply)

You can set the subnet to be scanned in the arpnet settings. Restricting the scans to your devices subnet will get rid of all the extra docker IPs.

giddy@aussie.zone · 1 pts · 2y

Yeah i tried setting my subnet to 192.168.3.0/24 (the one used by my intranet) but they still show up