Commit Graph

522 Commits

Author SHA1 Message Date
Dmitry
d77e1c6d61
Merge branch 'master' into feature/response-body 2026-01-12 19:27:22 +03:00
codercms
cbb315667e chore: Ensure max response body size limit applied 2026-01-12 19:11:11 +03:00
autofix-ci[bot]
b36b292585
[autofix.ci] apply automated fixes 2026-01-12 16:08:09 +00:00
codercms
e91ea2b88d chore: Limit max response body length and validate it 2026-01-12 19:02:08 +03:00
SID
c7a8b7affd
feat: Add option to retry only on status code failure for JSON Query monitors (#5693) (#6687)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-12 16:49:43 +01:00
codercms
d36dfebbd9 feat: Add gzip compression to response body 2026-01-12 17:39:01 +03:00
codercms
3f241c2af3 chore: Inline response saving logic 2026-01-12 15:29:28 +03:00
codercms
dc1319882e feat: Add configurable response data storage for notifications
This is actualized version of this PR - https://github.com/louislam/uptime-kuma/pull/6192
But with tests and an additional change that allows to only store responses **for failed HTTP requests**.

Add response column to heartbeat table to store HTTP response data
* Add monitor configuration options: saveResponse (default: false), saveErrorResponse (default: false) and responseMaxLength (default: 10240 bytes)
* Response max length of 0 allows unlimited storage without truncation
* Response data accessible in notification templates via heartbeatJSON.response
* Add UI controls in monitor edit page with translations (EN)
* Only saves response data when explicitly enabled to minimize database impact

chore: Tests added

fix: Missing response field
2026-01-12 14:45:02 +03:00
François HONORE
f71787eac1
feat: add monitor_uptime_ratio and monitor_response_time_seconds prometheus metric (#5506)
Co-authored-by: François HONORE <francois.honore@i-carre.net>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-09 06:30:23 +00:00
Frank Elsinga
0f61d7ee1b
chore: enable formatting over the entire codebase in CI (#6655)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-09 02:10:36 +01:00
Joseph Adams
0eca301181
fix: noisy domain expiry checks in monitor editor and missing debuggability (#6637)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-08 05:22:08 +00:00
Angel98518
5c2b659f29
chore: Add validation for retryInterval in Monitor.validate() (#6628) 2026-01-07 04:36:30 +01:00
mkdev11
7920057207 feat: add TLS monitor type for mTLS endpoint monitoring
Add a new TLS monitor type that allows monitoring mTLS endpoints to verify
they properly reject connections without client certificates.

Features:
- New TLS monitor type with hostname and port configuration
- Expected TLS Alert dropdown to specify which TLS alert to expect
- Support for certificate_required (116) alert for mTLS verification
- Optional certificate expiry monitoring when connection succeeds
- Ignore TLS errors option

Closes #5837
2026-01-06 20:27:15 +02:00
leonace924
d825352410 feat: extract MySQL/MariaDB monitor to its own monitor-type and enable conditions support 2026-01-06 01:42:20 -05:00
Frank Elsinga
038184f7fe
Update server/model/monitor.js 2026-01-05 20:25:22 +01:00
Frank Elsinga
b2c9ccbeee
Update server/model/monitor.js 2026-01-05 20:25:14 +01:00
Frank Elsinga
b25b2c7faa
Update server/model/monitor.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-05 08:41:11 +01:00
Frank Elsinga
3ae495e33b
Update server/model/monitor.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-05 08:41:00 +01:00
Frank Elsinga
e9043c7352
Update server/model/monitor.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-05 08:40:32 +01:00
autofix-ci[bot]
6ce5e90650
[autofix.ci] apply automated fixes 2026-01-05 07:37:25 +00:00
Frank Elsinga
5af0753415
Enhance error handling for container state checks 2026-01-05 08:30:23 +01:00
iotux
b3f84f0bf8
Merge branch 'louislam:master' into feature/local-service-monitor 2026-01-02 13:56:19 +07:00
Frank Elsinga
951b375a60
Merge branch 'master' into feature/5934 2026-01-02 07:27:51 +01:00
iotux
1faed64e13 Merge remote-tracking branch 'upstream/master' into feature/local-service-monitor 2026-01-01 12:11:27 +01:00
Pedro Magno
534ba5d547 chore: Extract the sqlserver monitor to its own monitor-type. Enable support conditions for a single result value. 2025-12-30 11:06:04 +00:00
iotux
3591f41ee6
Merge branch 'master' into feature/local-service-monitor 2025-12-21 15:05:08 +07:00
Shaan
eb0b6cdb09
feat: Domain name expiry (#6413)
Co-authored-by: AiroPi <47398145+AiroPi@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-12-20 16:32:49 +00:00
iotux
73a19df90c
Merge branch 'master' into feature/local-service-monitor 2025-12-20 22:17:46 +07:00
benji2k2
22a0ed6061
fix(docker): handle the state "unhealthy" as DOWN instead of PENDING (#6292)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-12-20 09:26:13 +00:00
iotux
fd1583ab35 Completed missing name change 2025-12-16 05:29:24 +01:00
iotux
d76ce4e28d Simplified and secured Local Service monitor 2025-12-14 16:39:00 +01:00
iotux
7461bd296f feat: Add 'local service' monitor type
This adds a new monitor type to check local services by executing a shell command. It also includes fixes for Prometheus errors when adding new tags and for the UI not updating when tags are changed.
2025-12-14 16:39:00 +01:00
Dalton Pearson
91edeaeb9c
Extracted the postgresql monitor to its own monitor-type (#6443)
Co-authored-by: Dalton Pearson <dalton.pearson@praemo.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-12-04 14:16:06 +00:00
Nelson Chan
5bf9a51522
Feat: Add warning for cert. hostname mismatch (#3942)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-01 10:12:47 +08:00
Frank Elsinga
b230ab0a06
migrated grpc keyword to the newer monitoringtype (#4821)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2025-11-29 23:21:45 +08:00
Louis Lam
f4ff234ec8
[Push monitor] Fix: Prometheus update with incorrect value (#6436)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 12:41:44 +00:00
Louis Lam
6e49601eed
Enforce UP status for non-custom status monitors (#6433)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-28 20:25:06 +08:00
PoleTransformer
5d1b372072
Add Websocket Upgrade Test (#5613)
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2025-11-27 21:05:44 +01:00
Shaan
0eebe86f81
feat: add SSL/STARTTLS option and certificate monitoring to TCP Port monitor (#6401)
Co-authored-by: Jacques ROUSSEL <jacques.roussel@rouaje.com>
Co-authored-by: rouja <jacques0roussel@gmail.com>
Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-11-24 18:30:13 +13:00
RickVdrongelen
5701a97ad9
feat(prometheus): add tags to prometheus metrics (#5845)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-11-18 22:38:31 +13:00
Frank Elsinga
dda1a3f442
Chore:extracted the redis monitor to a different monitoring type (#4393)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2025-11-16 04:55:38 +08:00
Dorian Grasset
2d8918a1b8
feat: enhance monitor deletion functionality by adding child deletion… (#6314)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-11-11 03:52:13 +01:00
Louis Lam
a3672a6afb
Fix: disable eqeqeq for UPTIME_KUMA_LOG_RESPONSE_BODY_MONITOR_ID (#6271) 2025-10-28 04:01:24 +08:00
Mário Garrido
f525b54825
Merge branch 'master' into feature/5934 2025-07-26 09:47:07 +01:00
Paulus Lucas
2a6d9b4acd
Add Websocket path to mqtt monitor for WebSocket connection (#6009)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lupaulus <20111917+lupaulus@users.noreply.github.com>
2025-07-24 22:04:43 +02:00
Mário Garrido
38037f5673
Merge branch 'master' into feature/5934 2025-07-18 09:15:11 +01:00
yumeiyin
d490285a44
chore: fix some minor issues in comments (#5984)
Signed-off-by: yumeiyin <yin.yumei@qq.com>
2025-07-14 10:08:53 +02:00
Mario Garrido
d9fa67ae03 Monitor GameDig: Resolve domain to IP before request 2025-07-01 05:36:58 +01:00
Ryan Hartje
9506b3a16b
feat: Add optional audience for http-monitors via the oauth2 client credentials flow (#5950)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-30 02:37:41 +02:00
Louis Lam
10fd6ede1e
[Eliminate Blocking] Docker monitor (#5927) 2025-06-25 13:39:00 +08:00