HEAD, GET, and POST requests methods. The HTTP POST requests can optionally include diagnostic information in the request body. If the request body looks like a UTF-8 string, Healthchecks.io stores the request body (limited to the first 100KB for each received ping).
Successful responses will have the "200 OK" HTTP response status code and a short "OK" string in the response body.
It's possible on Mikrotik routers and my friends set it up, it's possible from even old Android smartphone, but is it possible from Keenetic? I'm sure it should be, but please advise - how!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Oleksii87
Hi dear forum Community,
Please advise if it's possible to do HTTP requests say every 1 minute from Keenetic devices.
I'd like to be able to monitor availability of my home electricity and internet provider via https://healthchecks.io/ .
This is what they do https://healthchecks.io/docs/configuring_checks/ :
Healthchecks.io is a service for monitoring cron jobs (see guide) and similar periodic processes:
Healthchecks.io works as a dead man's switch for processes that need to run continuously or on a regular, known schedule.
This is what they need https://healthchecks.io/docs/http_api/ :
All ping endpoints support:
Successful responses will have the "200 OK" HTTP response status code and a short "OK" string in the response body.
Is it dead end? Is there any other way to do this, maybe simpler, from CLI or any other?
It's possible on Mikrotik routers and my friends set it up, it's possible from even old Android smartphone, but is it possible from Keenetic? I'm sure it should be, but please advise - how!
I tried to dig into usage of https://curl.se/ with Keenetic, but little luck. I found https://community.openhab.org/t/presence-detection-with-keenetic-or-maybe-other-opkg-routers/125250 , I installed OPKG packages in System Components, but - since I am using Keenetic Air - I don't have a USB flash drive port to execute opkg install curl
Thanks forward for any advice!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.