Add overview page
This commit is contained in:
1 parent
a7e07cbde9
commit
93c6a4dfcd
6 files changed
+304
-10
No files matched your search
+29
-1
@@ -37,5 +37,33 @@ export default {
|
||||
parameter:
|
||||
"InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.MACAddress"
|
||||
}
|
||||
]
|
||||
],
|
||||
overview: {
|
||||
online: {
|
||||
label: "Online devices",
|
||||
charts: {
|
||||
all: {
|
||||
label: "All devices",
|
||||
slices: {
|
||||
onlineNow: {
|
||||
label: "Online now",
|
||||
color: "#31a354",
|
||||
filter: "Events.Inform > NOW() - 5 * 60 * 1000"
|
||||
},
|
||||
past24: {
|
||||
label: "Past 24 hours",
|
||||
color: "#addd8e",
|
||||
filter:
|
||||
"Events.Inform > (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000) AND Events.Inform < (NOW() - 5 * 60 * 1000)"
|
||||
},
|
||||
others: {
|
||||
label: "Others",
|
||||
color: "#f7fcb9",
|
||||
filter: "Events.Inform < (NOW() - 5 * 60 * 1000) - (24 * 60 * 60 * 1000)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user