frontend, determine the device status by checking against the configured thresholds.

This commit is contained in:
Jason Kulatunga
2022-07-23 16:11:49 -07:00
parent 94594db20a
commit 7a68a68e76
5 changed files with 56 additions and 66 deletions
@@ -11,17 +11,17 @@ export type DashboardSort = 'status' | 'title' | 'age'
export type TemperatureUnit = 'celsius' | 'fahrenheit'
enum MetricsNotifyLevel {
export enum MetricsNotifyLevel {
Warn = 1,
Fail = 2
}
enum MetricsStatusFilterAttributes {
export enum MetricsStatusFilterAttributes {
All = 0,
Critical = 1
}
enum MetricsStatusThreshold {
export enum MetricsStatusThreshold {
Smart = 1,
Scrutiny = 2,