Move threshhold to server, move eventlog to notify
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ async def start(
|
||||
active_alerts = threshold_checker.get_active_alerts(host.alert_states)
|
||||
else:
|
||||
# Fallback if no threshold checker
|
||||
from hbd.client.threshold import AlertLevel
|
||||
from hbd.server.threshold import AlertLevel
|
||||
active_alerts = [
|
||||
state for state in host.alert_states.values()
|
||||
if state.level != AlertLevel.OK
|
||||
|
||||
Reference in New Issue
Block a user