mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
MQTT monitor type doesn't store ping data. #1033
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#1033
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @geoffsmith82 on GitHub (Apr 26, 2022).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
Description
After adding and configuring the MQTT monitor type, it records that the server is up/down but it doesn't store ping times.
👟 Reproduction steps
Add MQTT monitor type and configure with settings.
👀 Expected behavior
Something like

😓 Actual Behavior
🐻 Uptime-Kuma Version
1.15
💻 Operating System and Arch
Ubuntu 20.04
🌐 Browser
99.01
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response
@chakflying commented on GitHub (Apr 26, 2022):
Reference #875, I think there is no generic way to measure latency in the pub-sub model.
@geoffsmith82 commented on GitHub (Apr 27, 2022):
If I am getting what you mean... I would think it would be the time between sending the pub command and receiving the response back that is accepted as up via the sub message. Or are you talking about an implementation detail?
@CommanderStorm commented on GitHub (Apr 14, 2024):
Issue was likely resolved by https://github.com/louislam/uptime-kuma/pull/3857, will have to see after the beta release, because I don't have a good setup to test mqtt