Adding Global Threshold Settings
This commit is contained in:
1 parent
0c6d635b67
commit
bf5d7f3c53
7 files changed
+203
-26
No files matched your search
@@ -65,7 +65,13 @@ const AppSettingsSchema = mongoose.Schema(
|
||||
type: Number,
|
||||
default: 1,
|
||||
},
|
||||
},
|
||||
globalThresholds: {
|
||||
cpu: { type: Number },
|
||||
memory: { type: Number},
|
||||
disk: { type: Number},
|
||||
temperature: { type: Number},
|
||||
}
|
||||
},
|
||||
{
|
||||
timestamps: true,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user