uptime-kuma/server
SGprooo 1d9a28e9ab
feat: Tailscale ping monitor (#3178)
* Add boilerplate for tailscale ping

* tailscale initial commit draft

* Refactor TailscalePing & better error handling

Split check function into two methods and added async/await syntax for readability/modularity
Switched to promise-based error handling (takes into account different types of error such as "Execution error", "Error in output", "no matching peer", and "is local Tailscale IP") and throws them as JavaScript errors.

* Minor update

* minor update (again)

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* Update server/monitor-types/tailscale-ping.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>

* timeout revision

* JSDoc

* Removed long explainers

* eslint tailscale-ping.js --fix

* reran eslint

* Fix: Use hostname rather than url

* Fixed NaN on monitor interval

now interval value is correctly passed to runTailscalePing

* Add warning message

---------

Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2023-07-19 20:58:21 +08:00
..
jobs Feat: Run incremental_vacuum and optimize 2023-07-08 04:57:53 +08:00
model feat: added kafka producer (#3268) 2023-07-17 16:15:44 +08:00
modules Relocate and fix jsesc issue 2023-02-04 16:58:39 +08:00
monitor-types feat: Tailscale ping monitor (#3178) 2023-07-19 20:58:21 +08:00
notification-providers Merge pull request #3080 from duanearnett/feature/add-channel-notification-for-slack 2023-07-15 18:41:17 +08:00
routers Merge remote-tracking branch 'origin/master' into feat/badge-generator-placeholders 2023-07-15 01:05:34 +08:00
socket-handlers Merge pull request #3347 from louislam/1.22.X 2023-07-05 11:35:36 +08:00
2fa.js Add JSDoc to server/* 2022-04-20 19:56:40 +01:00
auth.js Chore: Add logging for failed auth 2023-06-26 04:49:49 +08:00
cacheable-dns-http-agent.js Added JSDoc for server/ 2023-01-05 22:19:05 +00:00
check-version.js Fixed update checker making requests to uptime.kuma.pet even when turned off (#2281) 2023-07-03 15:28:03 +08:00
client.js Update version handling 2023-07-14 18:02:49 +08:00
config.js Feat: Add placeholders for badge generator 2023-06-29 07:11:58 +08:00
database.js feat: added kafka producer (#3268) 2023-07-17 16:15:44 +08:00
docker.js [Docker Monitor] Change tcp:// to http:// 2022-10-04 16:19:56 +08:00
google-analytics.js Trim 2023-02-04 17:03:00 +08:00
image-data-uri.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
jobs.js Feat: Run incremental_vacuum and optimize 2023-07-08 04:57:53 +08:00
notification.js Add SMSC (СМСЦентр) provider notification (#3335) By @FlatronBuda 2023-07-14 14:29:35 +08:00
password-hash.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
prometheus.js Fix: prometheus monitor_status metric has 4 values 2023-06-10 20:22:33 +02:00
proxy.js Fix: Pass rejectUnauthorized to Socks Proxy 2023-03-28 11:40:19 +08:00
rate-limiter.js Switched to using Authorization header 2023-02-15 21:53:49 +00:00
server.js feat: added kafka producer (#3268) 2023-07-17 16:15:44 +08:00
settings.js Fix Uptime Kuma cannot be stopped 2022-12-08 19:13:47 +08:00
uptime-cache-list.js Added JSDoc for server/ 2023-01-05 22:19:05 +00:00
uptime-kuma-server.js feat: Tailscale ping monitor (#3178) 2023-07-19 20:58:21 +08:00
util-server.js feat: added kafka producer (#3268) 2023-07-17 16:15:44 +08:00