Dear team,
I am writing to report a potential synchronization issue
I've noticed in the OpenWISP2 dashboard regarding device health statuses.
*Issue Description:* In the main device list page, several devices are
showing a *"Critical"* status. However, when I click on an individual
device to view its overview page, the status correctly updates to *"OK."*
Interestingly, once I navigate back to the list page, the status for that
specific device remains "OK." This suggests that the status is only being
refreshed when the device's detail page is manually visited.
*Technical Evidence:* I have verified this discrepancy using the Python
shell. Even when a device is physically reachable, the DeviceMonitoring
model still reflects a stale "critical" status until the web interface
triggers an update:
*>>> from openwisp_monitoring.device.models import DeviceMonitoring>>> d =
DeviceMonitoring.objects.get(device__id='[DEVICE_UUID]')>>>
print(d.status)critical*
I've inspected the Celery task logs; all background processes appear to be
running correctly without any reported failures.
regards,
logu
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion, visit
https://groups.google.com/d/msgid/openwisp/CAJy2ivrVO9gBxiJLL0BR8n_ta9EZdsZwqzJhOSafE05MxHhHug%40mail.gmail.com.