AutoKuma
AutoKuma copied to clipboard
Hooking up existing notification
Hello, I'm trying to configure all my monitors to utilize the existing notification that I created via UptimeKuma UI. Here is my config:
AUTOKUMA__DEFAULT_SETTINGS: |-
*.notificationIDList: { "1": true }
But unfortunately, I'm getting these errors in the logs:
/\ | | | |/ /
/ \ _ _ | |_ ___ | ' / _ _ _ __ ___ __ _
/ /\ \ | | | || __| / _ \ | < | | | || '_ ` _ \ / _` |
/ ____ \ | |_| || |_ | (_) || . \ | |_| || | | | | || (_| |
/_/ \_\ \__,_| \__| \___/ |_|\_\ \__,_||_| |_| |_| \__,_|
v0.8.0
INFO [autokuma::sync] Updating monitor: openspeedtest_docker
WARN [autokuma::sync] Encountered error during sync: Server responded with an error: insert into `monitor_notification` (`monitor_id`, `notification_id`) values (57, '1') - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
INFO [autokuma::sync] Updating monitor: openspeedtest_http
WARN [autokuma::sync] Encountered error during sync: Server responded with an error: insert into `monitor_notification` (`monitor_id`, `notification_id`) values (56, '1') - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
Am I doing it wrong? Is there a different way to tell Autokuma to utilize the existing notification?
@lordlightman have you figure it out? I want to add existing notifications and existing docker