NetAlertX icon indicating copy to clipboard operation
NetAlertX copied to clipboard

Question: about online devices showing as offline

Open hansw1204 opened this issue 2 years ago β€’ 5 comments

Hi, I installed NetAlertX in docker on my Raspberry Pi5 and it works well. However, at all times it shows devices as offline that are clearly online and working as expected. Did I do something wrong with my setup or do I need to change some settings? Many thanks for any help. Hans

hansw1204 avatar Apr 24 '24 15:04 hansw1204

Hi,

Please provide more information so I can help.

  1. What scanners do you have enabled?
  2. Is the schedule aligned?
  3. Is there anything common on devices showing as offline?

Thanks, j

jokob-sk avatar Apr 24 '24 21:04 jokob-sk

Hi, Thank you for your help!

I have not changed any of the default settings. I am scanning 192.168.7.0/22 on eth0 I have not changed any of the default schedules All devices that show offline are connected via WiFi (I have an eero setup with 3 eero Pro 6 devices)

Maybe these devices do go offline and reconnect on demand? The affected IOT devices are always accessible via the Home App.

Thank you again,

Hans

From: jokob-sk @.> Date: Wednesday, April 24, 2024 at 17:39 To: jokob-sk/NetAlertX @.> Cc: HaWi @.>, Author @.> Subject: Re: [jokob-sk/NetAlertX] Question: about online devices showing as offline (Issue #651)

Hi,

Please provide more information so I can help.

  1. What scanners do you have enabled?
  2. Is the schedule aligned?
  3. Is there anything common on devices showing as offline?

Thanks, j

β€” Reply to this email directly, view it on GitHubhttps://github.com/jokob-sk/NetAlertX/issues/651#issuecomment-2075893349, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKHLVKE3ZBT7AZV5HYN35LY7ARCLAVCNFSM6AAAAABGXE75NOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVHA4TGMZUHE. You are receiving this because you authored the thread.Message ID: @.***>

hansw1204 avatar Apr 25 '24 13:04 hansw1204

Could you please share a screenshot of your devices and the app.log for the given scan you enabled? This is the type of output I need to help further: https://github.com/jokob-sk/NetAlertX/blob/main/docs/DEBUG_PLUGINS.md

jokob-sk avatar Apr 25 '24 21:04 jokob-sk

Thank you for helping!

I am attaching a screen shot of the devices (not complete due to number of items not fitting screen) and the app.log as .zip due to size

Best regards, Hans

Seems like the attachment didn't make it. So here is a link to it https://www.icloud.com/iclouddrive/033BQfYV1lgDkO1mO2OxJUn_g#NetAlertX-Screenshot_-_app_log

From: jokob-sk @.> Date: Thursday, April 25, 2024 at 17:26 To: jokob-sk/NetAlertX @.> Cc: HaWi @.>, Author @.> Subject: Re: [jokob-sk/NetAlertX] Question: about online devices showing as offline (Issue #651)

Could you please share a screenshot of your devices and the app.log for the given scan you enabled? This is the type of output I need to help further: https://github.com/jokob-sk/NetAlertX/blob/main/docs/DEBUG_PLUGINS.md

β€” Reply to this email directly, view it on GitHubhttps://github.com/jokob-sk/NetAlertX/issues/651#issuecomment-2078202009, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKHLVK724W3SZI2B4FVKGDY7FYHFAVCNFSM6AAAAABGXE75NOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGIYDEMBQHE. You are receiving this because you authored the thread.Message ID: @.***>

hansw1204 avatar Apr 26 '24 15:04 hansw1204

Thanks for the logs, this helps a lot.

It seems that you are only using arp-scan and most devices are detected. The issue with arp-scan is that it relies on the arp-scan cache which can be out-of-date.

To get more accurate results you can try switching to a different scan method. Check the settings for any scan method you'd be able to substitute or complement the correct arp-scan detection, such as PiHole import, SNMP or dhcp.leases. Check the respective settings for details.

I'm also working on an NMAP device scan #645 which may be more accurate and you can test it in the netalertx-dev image.

jokob-sk avatar Apr 26 '24 23:04 jokob-sk

no update for a week > closing for now

jokob-sk avatar May 05 '24 08:05 jokob-sk