Devices offline after initial discovery #929
Labels
bug 🐛
Something isn't working
Waiting for reply⏳
Waiting for the original poster to respond, or discussion in progress.
Is there an existing issue for this?
The issue occurs in the following browsers. Select at least 2.
Current Behavior
Devices are scanned and detected, however, they switch to offline after 3 to 5 minutes and I can guarantee most of them (if not all) are actually online.
Expected Behavior
I'd expect the online devices to be shown online.
Steps To Reproduce
NetAlert V24.12.23 deployed on Portainer V 2.21.5
Subnet Scan configured according to my network, initial scan works and detects devices.
app.conf
docker-compose.yml
What branch are you running?
Production
app.log
16:10:36 [INTRNT] Current internet_IP : 91.44.73.130
16:10:36 [INTRNT] previous_IP : 91.44.73.130
16:10:36 [INTRNT] Finished
16:10:36 [Plugins] Processed and deleted file: /app/log/plugins/last_result.INTRNT.log
16:10:36 [Plugins] SUCCESS, received 1 entries
16:10:37 [Scheduler] run for CSVBCKP: NO
16:10:37 [Scheduler] run for DBCLNP: NO
16:10:37 [Scheduler] run for MAINT: NO
16:10:37 [Scheduler] run for VNDRPDT: NO
16:10:37 [Process Scan] Exclude ignored devices
16:10:37 [Process Scan] Processing scan results
16:10:37 [Process Scan] Print Stats
16:10:37 [Scan Stats] Devices Detected.......: 2
16:10:37 [Scan Stats] New Devices............: 0
16:10:37 [Scan Stats] Down Alerts............: 0
16:10:37 [Scan Stats] New Down Alerts........: 0
16:10:37 [Scan Stats] New Connections........: 31
16:10:37 [Scan Stats] Disconnections.........: 0
16:10:37 [Scan Stats] IP Changes.............: 0
16:10:37 [Scan Stats] Scan Method Statistics:
16:10:37 INTRNT: 1
16:10:37 local_MAC: 1
16:10:37 [Process Scan] Stats end
16:10:37 [Process Scan] Sessions Events (connect / disconnect)
16:10:37 [Process Scan] Creating new devices
16:10:37 [Process Scan] Updating Devices Info
16:10:37 [Process Scan] Voiding false (ghost) disconnections
16:10:37 [Process Scan] Pairing session events (connection / disconnection)
16:10:37 [Process Scan] Creating sessions snapshot
16:10:37 [Process Scan] Inserting scan results into Online_History
16:10:37 [Process Scan] Skipping repeated notifications
16:10:37 [Skip Repeated Notifications] Skip Repeated
16:10:37 [Plugin utils] ---------------------------------------------
16:10:37 [Plugin utils] display_name: AVAHISCAN (Name discovery)
16:10:37 [Plugins] Executing: python3 /app/front/plugins/avahi_scan/avahi_scan.py
16:10:38 [Plugins] Output: Runlevel: sysinit
avahi-daemon [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
dbus [ crashed ]
Dynamic Runlevel: manual
[plugin_helper] reading config file
16:10:38 [AVAHISCAN] In script
16:10:38 [Database] Opening DB
16:10:38 [AVAHISCAN] Unknown devices count: 12
16:10:38 [AVAHISCAN] Attempt 1 - Ensuring D-Bus and Avahi daemon are running...
16:10:38 [AVAHISCAN] Avahi Daemon is already running.
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.1']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.2']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.15']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.16']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.18']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.17']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.54']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.19']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.27']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.55']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.65']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] DEBUG CMD :['avahi-resolve', '-a', '192.168.178.57']
16:10:38 [AVAHISCAN] ⚠ ERROR - Failed to create client object: Daemon not running
16:10:38 [AVAHISCAN] Scan: FAIL - check logs
16:10:38 [AVAHISCAN] Script finished
Debug enabled
The text was updated successfully, but these errors were encountered: