Status pagesο
kumaone enables user to create status pages form single file or multiple files. kumaone also helps
users to assign certain monitors to the status page via yaml formatted file. Usually, kumaone expects
status page configuration in the same file as monitors with status_pages stanza.
---
monitors:
google:
- name: Google
type: http
url: https://google.com
- name: Gmail
type: http
url: https://mail.google.com
status_pages:
- title: Google Status
slug: google
description: "Google services status page."
theme: "auto"
published: True
showTags: False
domainNameList: ["google.uptimestatus.do"]
googleAnalyticsId: ""
customCSS: ""
footerText: "this goes in the footer of status page"
showPoweredBy: False
showCertificateExpiry: True
icon: "/icon.svg"
publicGroupList:
- name: Services
weight: 1
monitorList:
- Google
- Gmail
status_pages is a list of status pages that should be added.
Add and save status pageο
Uptime Kuma status pages are added and then the corresponding monitors are attached to the status page and
saved. kumaone does all of that in single command.
kumaone status-page add -p examples/monitors --save
$ kumaone status-page add -p examples/monitors --save
π₯³ Uptime kuma config file found at: /Users/dalwar23/.config/kumaone/kuma.yaml
π₯¨ Connected to http://uptime.homelab.do
π Successfully logged in.
π Checking input data path.
π Directory input detected. Input file directory: 'examples/monitors'.
π‘ '.sh' file type is not supported. Skipping 'ignoreme.sh'.
π 2 files found in supported format.
π£ Status page 'Google Status (google)' has been created.
πΎ Status page saved successfully!
π£ Status page 'Homelab Status Page (homelab)' has been created.
πΎ Status page saved successfully!
𧨠Disconnected from server.
If --save command is not provided, kumaone will only create the status page. Monitors wonβt be added to the status
page.
Important
To add the monitors to the status page, add --save option.
A status page can also be added (not saved -> no monitor attached to it) with proving a title and slug.
kumaone status-page add --title "Test Status Page" --slug "test23"
$ kumaone status-page add --title "Test Status Page" --slug "test23"
π₯³ Uptime kuma config file found at: /Users/dalwar23/.config/kumaone/kuma.yaml
π₯¨ Connected to http://uptime.homelab.do
π Successfully logged in.
π£ Status page 'Test Status Page (test23)' has been created.
𧨠Disconnected from server.
Delete status pageο
Status page can be deleted via slug (one at a time) or providing --pages one or multiple files. Deleting status
page(s) works similar as adding a status page.
Delete an existing status page by slug.
kumaone status-page delete --slug "test23"
kumaone status-page delete --slug "test23"
π₯³ Uptime kuma config file found at: /Users/dalwar23/.config/kumaone/kuma.yaml
π₯¨ Connected to http://uptime.homelab.do
π Successfully logged in.
π Status page 'test23' has been deleted.
𧨠Disconnected from server.
Status page(s) can be deleted by providing status page configuration file as an argument to --pages option.
kumaone status-page delete --pages examples/monitors/homelab.yaml
$ kumaone status-page delete --pages examples/monitors/homelab.yaml
π₯³ Uptime kuma config file found at: /Users/dalwar23/.config/kumaone/kuma.yaml
π₯¨ Connected to http://uptime.homelab.do
π Successfully logged in.
π Checking input data path.
π Single file input detected. Input file: 'examples/monitors/homelab.yaml'.
π Status page 'homelab' has been deleted.
𧨠Disconnected from server.
Deletion of status pages also works with multiple files (directory input).
kumaone status-page delete --pages examples/monitors
$ kumaone status-page delete --pages examples/monitors
π₯³ Uptime kuma config file found at: /Users/dalwar23/.config/kumaone/kuma.yaml
π₯¨ Connected to http://uptime.homelab.do
π Successfully logged in.
π Checking input data path.
π Directory input detected. Input file directory: 'examples/monitors'.
π‘ '.sh' file type is not supported. Skipping 'ignoreme.sh'.
π 2 files found in supported format.
π Status page 'google' has been deleted.
π Status page 'homelab' does not exist.
𧨠Disconnected from server.
List status pagesο
list sub-command for status-pages shows all the status pages available.
kumaone status-page list
$ kumaone status-page list
π₯³ Uptime kuma config file found at: /Users/dalwar23/.config/kumaone/kuma.yaml
π₯¨ Connected to http://uptime.homelab.do
π Successfully logged in.
π Available status pages.
ββββββ³βββββββββββ³ββββββββββββββββββββββ
β id β slug β Title β
β‘ββββββββββββββββββββββββββββββββββββββ©
β 1 β dalwar23 β Personal WebPage β
β 52 β google β Google Status β
β 53 β homelab β Homelab Status Page β
ββββββ΄βββββββββββ΄ββββββββββββββββββββββ
𧨠Disconnected from server.
Show status page detailsο
Users can find out details about any status page with the status page slug.
kumaone status-page show --slug google
kumaone status-page show --slug google
π₯³ Uptime kuma config file found at: /Users/dalwar23/.config/kumaone/kuma.yaml
π₯¨ Connected to http://uptime.homelab.do
π Successfully logged in.
π 'google' status page details
{
"customCSS": "",
"description": "Google services status page.",
"domainNameList": [
"google.uptimestatus.do"
],
"footerText": "this goes in the footer of status page",
"googleAnalyticsId": "",
"icon": "/icon.svg",
"id": 52,
"incident": null,
"maintenanceList": [],
"publicGroupList": [
{
"id": 62,
"monitorList": [
{
"certExpiryDaysRemaining": 43,
"id": 192,
"name": "Google",
"sendUrl": 0,
"type": "http",
"validCert": true
},
{
"certExpiryDaysRemaining": 43,
"id": 193,
"name": "Gmail",
"sendUrl": 0,
"type": "http",
"validCert": true
}
],
"name": "Services",
"weight": 1
}
],
"published": true,
"showCertificateExpiry": true,
"showPoweredBy": false,
"showTags": false,
"slug": "google",
"theme": "auto",
"title": "Google Status"
}
𧨠Disconnected from server.