Fix default resourcesShortage
This commit is contained in:
parent
bad6451102
commit
e14c81ece3
@ -401,7 +401,7 @@ public class DefaultNotifications {
|
|||||||
.icon("warning")
|
.icon("warning")
|
||||||
.rule(DefaultRule.builder()
|
.rule(DefaultRule.builder()
|
||||||
.name("Resources shortage")
|
.name("Resources shortage")
|
||||||
.triggerConfig(ResourcesShortageNotificationRuleTriggerConfig.builder().resource(Resource.CPU.name()).cpuThreshold(80).storageThreshold(80).ramThreshold(80).build())
|
.triggerConfig(ResourcesShortageNotificationRuleTriggerConfig.builder().resource(Resource.CPU.name()).cpuThreshold(0.8f).storageThreshold(0.8f).ramThreshold(0.8f).build())
|
||||||
.description("Send notification to system admins when resources shortage is running low")
|
.description("Send notification to system admins when resources shortage is running low")
|
||||||
.build())
|
.build())
|
||||||
.color(RED_COLOR)
|
.color(RED_COLOR)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user