Execute scripts before pinging to check status #381
Unanswered
jayantkatia
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on the progress made,
TL;DR
What if we could run scripts just before pinging and just after pinging, we can allow the users to do anything they want. It will give the control back to the users in the mid of execution.
Example, users can connect to a VPN via CLI tools.
What inspired the idea ?
I came across some discussions on location-based checking of the status of the websites.
Solution
It led me to think if we could run scripts just before pinging and just after pinging( to save bandwidth by not using it to commit and perform other bandwidth-consuming actions ), we can allow the users to do anything they want. Users can connect to a VPN via CLI tools.
Is it limited to location-based-checking ?
No, the use cases can be unlimited. It gives the control back to the user in the mid of execution.
I particularly ran bash scripts, but by specifying the environment in the shebang, user may run node, python, any scripts.
Pros
Challenges
Implementation
Upptime template
To implement this, I purpose to add the following fields in the config's site interface,
default
tag can be used to run the normal flow without executing scripts.Uptime-Monitor
Result (of current progress)
UpMob-API with 261 ms uses request made with ```default`` tag.
Beta Was this translation helpful? Give feedback.
All reactions