mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Provide a text file for the current status that you can view with less #1951
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#1951
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 @alexlehm on GitHub (Feb 28, 2023).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
Other
🔖 Feature description
I would like to be able the current status as a text file that I can view with less, I am using Kuma on a root server that I access with ssh and do not necessarily have the web page open. It would be nice to have a file where you do less status.txt to see the current state.
I didn't find such a file, I only found the db files which are sqlite I assume
✔️ Solution
Provide a cronjob or alike to create a status file every minute to dump the status as a text or markdown file
(or a local file that can be viewed with lynx as html)
❓ Alternatives
the alternative is to parse the status page with lynx and view that, I think that is possible, but would not look as good
Also, a text only page on the status page would be possible that you could view with curl (e.g. a markdown text url)
📝 Additional Context
No response
@rezzorix commented on GitHub (Mar 1, 2023):
Use the api - it will give you what you need.