-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
[help] nslookup plugin #543
Comments
Hi @uldtot , I implemented a NSLOOKUP plugin but I can't get any valid results on my network. It would be great if you could help testing it: It's available in the The nslookup command I execute for every device is:
|
Thanks @uldtot for checking! Can you please try a different browser or refresh your browser cache? The function seems to be deployed, but it sounds like the old files are cached by the browser: https://github.com/jokob-sk/Pi.Alert/blob/d18a59944bba1e64b810b89e19734fc702cab105/front/js/pialert_common.js#L352 |
That worked. didnt think if cache. Here is what it said in logs (): `19:47:20 [Plugin utils] display_name: NSLOOKUP (Name discovery) 19:47:20 [Plugins] ⚠ ERROR - enable LOG_LEVEL=debug and check logs |
Thanks a lot! Can you try again to download the image once this run finishes (in ~17 min form now)? I hope I fixed the error above: https://github.com/jokob-sk/Pi.Alert/actions/runs/7674821635 |
`14:06:20 [Plugins] Executing: python3 /home/pi/pialert/front/plugins/nslookup_scan/nslookup.py 14:06:21 [NSLOOKUP] ⚠ ERROR - check logs
14:06:42 [Notification] No changes to report |
Hummm.. .thanks.... I've added some debug output, can you re-test and check the logs once you have a minute after downloading the latest build after the below finishes? https://github.com/jokob-sk/Pi.Alert/actions/runs/7685768406
|
`14:12:42 [Import Config] checking config file Authoritative answers can be found from: 14:12:48 [NSLOOKUP]** server can't find 0.0.0.0.in-addr.arpa: NXDOMAIN 14:12:48 [NSLOOKUP] ⚠ ERROR - check logs Authoritative answers can be found from: 14:12:48 [NSLOOKUP] Script finished` |
Hey @uldtot , Thanks a lot for the help! I finally got NSLOOKUP running on my local LAN and I was able to test this on my end. If you want to test it also on your setup, you can try after this build finishes: https://github.com/jokob-sk/Pi.Alert/actions/runs/7710412087 Thanks for all the help! |
Tried the latest one, but it just keep failing and restarting the container now. Think this is relevant log: `21:13:07 [New Devices] New Devices end 21:14:23 The container restarted (started). If this is unexpected check https://bit.ly/PiAlertDebug for troubleshooting tips. 21:14:23 Permissions check (All should be True) |
Oh, my bad - fixed it now and the new image will be available after this action finishes: https://github.com/jokob-sk/Pi.Alert/actions/runs/7732279513 Thanks again for your help 🙏 |
Look like it worked, will do more tests tomorrow. :) |
Yayyy - getting there :) thanks for the help. Let me know if you have feedback 👍 |
It look like its working now. My chroembook got an odd name, but it found one (looks like something hashed value, but im sure that just how my chromebook work :D) and my phone are found now. The email sent still show no name found, so maybe its sending email before nslookup part? |
Cool, thanks! Pushing hopefully a fix for that 👍 |
released -> closing |
output:
This is one of the devices it didn't find.
Originally posted by @uldtot in https://github.com/jokob-sk/Pi.Alert/issues/534#issuecomment-1904853124
The text was updated successfully, but these errors were encountered: