mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-03 08:41:35 -07:00
sleeping devices status #1519
This commit is contained in:
@@ -24,8 +24,9 @@ function initNetworkTopology() {
|
||||
LOWER(devMac) AS devMac,
|
||||
LOWER(devParentMAC) AS devParentMAC,
|
||||
CASE
|
||||
WHEN devAlertDown != 0 AND devPresentLastScan = 0 THEN 'Down'
|
||||
WHEN devPresentLastScan = 1 THEN 'On-line'
|
||||
WHEN devIsSleeping = 1 THEN 'Sleeping'
|
||||
WHEN devAlertDown != 0 AND devPresentLastScan = 0 THEN 'Down'
|
||||
ELSE 'Off-line'
|
||||
END AS devStatus,
|
||||
CASE
|
||||
|
||||
Reference in New Issue
Block a user