-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Switch from non-forked version? #131
Comments
In what context did this error occur? The statement is correct as such. The correct path is namely ~/pialert/back/pyalert.py
These are simply fields with organizational background.
This whole "vendor update" issue has been addressed in several issues. In my fork the problem was fixed.
Yes, there is a test function in my fork. But besides email I have also integrated other notification services.
With the removal of this bug my fork started ;-)
|
Hi, Thank you very much for the detailed response. See comments below.
I am issuing the command from a telnet session on debian/pihole device, stqrting in the root/pialert directory. Since pialert is working, I suspect this is user error on my part not understanding what it is supposed to do.
Confirm works now.
Works great. The new features for SMTP_SKIP_TLS and SMTP_SKIP_LOGIN fixed all my email issues. Thank you for these badly needed additions.
Confirm it's fixed. Addition I'd suggest: On the devices page, add ability to show the vendor (unless it's there and I'm somehow missing it). |
Ran into one new issue. I have pialert.conf with the following config line: MAC_IGNORE_LIST = ['94:A6:7E:23:45:66', '84:1B:5E:28:7B:6B'] I still get reports like this: 84:1b:5e:28:7b:6b | 2023-07-08 20:36:00 | 192.1.1.200 | IP Changed | isyaccesspt.sci1.com | Previous IP: 192.1.1.252 So why is pialert telling me about a MAC address I told it to ignore? I wasn't sure about the syntax of the MAC_IGNORE_LIST, so I tried it both with a comma between entries and without. |
Okay, I guess I didn't document properly here. In the ignore list, the entries must be lower case. |
Thank you for the reply. I updated my pialert.conf file to use lowercase MAC addresses, but I am still getting notifications for devices on the MAC_IGNORE_LIST. My config file looks like this now: MAC_IGNORE_LIST = ['94:a6:7e:23:45:66', '84:1b:5e:28:7b:6b'] Here is a sample email notification:
I think it may be worthwhile for me to explain the problem I'm trying to solve, as even if the MAC_IGNORE_LIST worked it would only be a partial solution. The MAC addresses I tried to exclude are the MAC addresses of two WiFi extenders. WiFi extenders have the unfortunate habit of spoofing the MAC address of all devices behind them to be the same as the MAC address of the extender itself. There is no way to disable that behavior. Apparently, the behavior is there so it looks like there are fewer devices connected to routers which limit the number of connected devices. Anyway, this extender behavior results in pialert seeing multiple IP addresses with the same MAC address. This is dumb, of course, since MAC addresses should be unique. pialert gets (reasonably) confused and thinks that for a given MAC address the IP has changed and reports on that. Since this isn't really pialert's problem, I'm not sure if anything can be done. Perhaps an option to poll certain IP addresses for up/down without reference to the MAC address? Would that make any sense? If the MAC_IGNORE_LIST option worked, I could at least disable all the alerts (even though that would eliminate the capability to see if the extender or any devices behind it were up/down). In an unrelated issue, pialert is giving me frequent "down" notifications for a couple of my devices which are not in fact down. Perhaps pialert is just not waiting long enough for a response from those devices? Is this at all configurable? |
Not a dumb question. :-) The first time I configured it, I forgot to remove the hash mark. Here is my current MAC ignore section from the conf file copied verbatim: MAC_IGNORE_LIST = ['94:a6:7e:23:45:66', '84:1b:5e:28:7b:6b'] Do I have the syntax wrong? I tried to follow the default pialert.conf file in this regard. Yes, Alert All Events is active for all devices. Thank you. |
The option did not work for devices detected by arp-scan. #131
I found the bug that affected the ignore list function in arp-scan. |
Hey, that's cool you found a bug with the MAC ignore. I was going to report that my logs do show two addresses ignored. I am switching notifications as you suggested. Did you have any thoughts on the problem I posted earlier about duplicate MAC addresses for devices behind WiFi extenders? One other question: I have one device for which I get a lot of "down" notifications. I can turn them off, but I am curious where to look for why I"m getting the notifications. It's a Cisco router which is always on. |
No. As you have already noted, there is little you can do with Pi.Alert.
If the router does not always respond to the ARP requests in a timely manner, I would also recommend that you disable the notifications all together. Alternatively, if the router has a web interface, you can check the functionality of the router via the web service monitoring. Enter the URL of the router web interface and set the appropriate notification. |
Thank you for all of the excellent support. |
Please. You are welcome. |
Hello,
I recently installed pi.alert and ran into some install issues which I documented here:
pucherot/Pi.Alert#234
It seems like this fork is more actively maintained. Is that correct? Does it address any of the issues I mentioned?
What is the best way to migrate from the original pi.alert? Download the new source files and copy them over the existing? Or run the full installer?
Thank you.
The text was updated successfully, but these errors were encountered: