Closed TheLastProject closed 10 months ago
Unless I overlooked something (I haven't tested this, just looked at the code), I think for that to work, sendUrl
would need to be added to both of these (and the documentation):
Sorry, those links aren't correct. It's not a monitor setting, it's a setting for an entry in the monitorList on the status page: https://github.com/lucasheld/ansible-uptime-kuma/wiki/status_page
You are correct. It looks like the only change needed is ansible-uptime-kuma/plugins/modules/status_page.py
-> main()
-> module_args
.
AFAICT sendUrl
is part of the monitor model in Uptime Kuma, which is why I thought it needed to be set there, but indeed to set it requires providing it via monitorList
in saveStatusPage
. Thanks for pointing that out :)
We seem to be having a strange bug on our end after we tried using this. Unfortunately, we can't debug for another week. Will get back to you.
@obfusk Does the problem still exist? What kind of bug is it?
@TheLastProject reported getting an error. But I tested it today and it seems to work fine :)
I think it would be great if we could set the "show clickable URL" setting on a monitor in the status page: