Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default notifications are not enabled on monitors created by add_montitor() #76

Open
AcumenIT-Tim opened this issue Nov 8, 2024 · 2 comments

Comments

@AcumenIT-Tim
Copy link

Notifications with "Default Enabled" selected in their config are added to monitors created with add_monitor(), but they are disabled by default. Monitors created with the GUI have them enabled by default.

@simaiden
Copy link

Same behavior here, not sure if is a problem with the API or with Uptime Kuma. Anyways, I upgraded to kuma 2.0 beta and the "add_monitor" method doesn't work anymore

@simaiden
Copy link

EDIT:
The "Default Enabled" option only works in the dashboard, to add notifications with API you have to specified the "notificationIDList" as kwargs field in add_monitor method.

To get the notifications ids you can use the get_notifications() method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants