mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Container monitoring - check status of OOMkilled and report/notify #4607
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#4607
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 @psyciknz on GitHub (Jan 13, 2026).
📑 I have found these related issues/pull requests
n/a
🔖 Feature description
Would it be possible to report of if a container, while running, is reporting OOMKilled? This is when it's run out of memory from what has been allocated.
It is available as part of the .State tree of a container.
✔️ Solution
Read the state of a container and fire a notification, or set a state for the container as unhealthy if it is reporting that it has been restarted after hitting an OOM (Out of memory) state
❓ Alternatives
No response
📝 Additional Context
Looking at the JSON that seems to be pulled, it looks like it's the equivalent of what is returned for docker inspect. So the OOMKilled value exists as .State.OOMkilled
@CommanderStorm commented on GitHub (Jan 14, 2026):
I did not know if I should include this as a
DOWN-trigger so left it out.Not sure what is the correct handling here..
@psyciknz commented on GitHub (Jan 14, 2026):
oh had you looked at ?
Is there an unhealthy state that isn't down, or the concept of a warning state for a monitor? Because it's technically not down, but being able to get a notification for it, or any in that state would be the use case.
@CommanderStorm commented on GitHub (Jan 14, 2026):
We currently don't have such a state. We have
UP,DOWNandPENDING(could also be renamedCURRENTLY_RETRYING_DOWN_HEARTBEAT).For other things like domain expiry or certificate expiry we have the ability to send messages, but this seems a bit too noisy for this (if one monitor OOMs, likely others are also OOM-ing).