louislam / uptime-kuma

A fancy self-hosted monitoring tool

Home Page:https://uptime.kuma.pet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a random string / number to the monitored URL

SingHar opened this issue Β· comments

πŸ“‘ I have found these related issues/pull requests

Unable to find any related issue.

🏷️ Feature Request Type

Change to existing monitor

πŸ”– Feature description

It would be helpful if we can append a random string to URL to potentially bypass web cache.

For example:
https://www.example.com/wp-cron?doing_cron=[RAND_STRING]

βœ”οΈ Solution

Inline tags as part of the URL being monitored that can be interpreted / parsed by the monitor.

OR

Additional field to append GET parameters with option to generate random string / number / Unix timestamp while executing the monitor.

❓ Alternatives

I cannot think of any alternate to this approach.

πŸ“ Additional Context

This will be helpful when I need to monitor (or call) as URL but make sure that the results are not cached.

commented

This could be easilly done. Just needing to ajust the URL called by Uptime Kuma by replacing [UNIX_TIME] with the current UNIX timestamp, or something like that.

resolved by #3525

Thank you so much!