You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for starters, I am not a python guy nor linux or even a developer, so please forgive me for the lack of knowledge.
I have been using uptime kuma for a couple of months now, and love it. Simple, intuitive, clean UI, etc.. Even the lack of a user management functionality is not s how stopper (although I hope Louis Lam incorporates some kind of user management, so i can add some users to access and be able to see the monitors directly).
Anyway, because of the lack of this user mgt funtionality, I need to give some team members the ability to create a maintenance window and set some monitors for maintenance. Thats when looked for the API and come across this one.
At first all seemed perfect, but after a few hours of going back and forth I am still not able to set a maintenance window.
My setup is Ubuntu+dockers+uptimekuma (container)+uptimekumawebapi (container). Using my windows machine, I can list the monitors, the maintenance list, pause and resume a monitor and most of the endpoints I tried, but not the maintenance window. I always get an error, even using the example provided in the docs page of the api. I get a http 500 Internal Error.
I cannot find an example of someone being able to set a maintenance period, so i can troubleshoot my own code.
Can someone please help me understand whats going on? Is there someone using this endpoint (Post /maintenance)?
This is my Json example and the error I am getting:
JSON Body for Maintenance Request:
{
"strategy": "manual",
"description": "",
"weekdays": [
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
for starters, I am not a python guy nor linux or even a developer, so please forgive me for the lack of knowledge.
I have been using uptime kuma for a couple of months now, and love it. Simple, intuitive, clean UI, etc.. Even the lack of a user management functionality is not s how stopper (although I hope Louis Lam incorporates some kind of user management, so i can add some users to access and be able to see the monitors directly).
Anyway, because of the lack of this user mgt funtionality, I need to give some team members the ability to create a maintenance window and set some monitors for maintenance. Thats when looked for the API and come across this one.
At first all seemed perfect, but after a few hours of going back and forth I am still not able to set a maintenance window.
My setup is Ubuntu+dockers+uptimekuma (container)+uptimekumawebapi (container). Using my windows machine, I can list the monitors, the maintenance list, pause and resume a monitor and most of the endpoints I tried, but not the maintenance window. I always get an error, even using the example provided in the docs page of the api. I get a http 500 Internal Error.
I cannot find an example of someone being able to set a maintenance period, so i can troubleshoot my own code.
Can someone please help me understand whats going on? Is there someone using this endpoint (Post /maintenance)?
This is my Json example and the error I am getting:
JSON Body for Maintenance Request:
{
"strategy": "manual",
"description": "",
"weekdays": [
}
Error creating maintenance entry: {"detail":"'version'"}
Thanks in advance,
Nelson
Beta Was this translation helpful? Give feedback.
All reactions