diff --git a/docs/widgets.md b/docs/widgets.md index 2bb588a4..7b495546 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -72,6 +72,7 @@ Dashy has support for displaying dynamic content in the form of widgets. There a - [Drone CI Build](#drone-ci-builds) - [Linkding](#linkding) - [Uptime Kuma](#uptime-kuma) + - [Uptime Kuma Status Page](#uptime-kuma-status-page) - [Tactical RMM](#tactical-rmm) - **[System Resource Monitoring](#system-resource-monitoring)** - [CPU Usage Current](#current-cpu-usage) @@ -2671,6 +2672,40 @@ Linkding is a self-hosted bookmarking service, which has a clean interface and i --- +### Uptime Kuma Status Page + +[Uptime Kuma](https://github.com/louislam/uptime-kuma) is an easy-to-use self-hosted monitoring tool. + +#### Options + +| **Field** | **Type** | **Required** | **Description** | +| ------------------ | -------- | ------------ | --------------------------------------------------------------------------------- | +| **`host`** | `string` | Required | The URL of the Uptime Kuma instance | +| **`slug`** | `string` | Required | The slug of the status page | +| **`monitorNames`** | `strins` | _Optional_ | Names of monitored services (in the same order as on the kuma uptime status page) | + +#### Example + +```yaml +- type: uptime-kuma-status-page + options: + host: http://localhost:3001 + slug: another-beautiful-status-page + monitorNames: + - "Name1" + - "Name2" +``` + +#### Info + +- **CORS**: 🟢 Enabled +- **Auth**: 🟢 Not Needed +- **Price**: 🟢 Free +- **Host**: Self-Hosted (see [Uptime Kuma](https://github.com/louislam/uptime-kuma) ) +- **Privacy**: _See [Uptime Kuma](https://github.com/louislam/uptime-kuma)_ + +--- + ### Tactical RMM [Tactical RMM](https://github.com/amidaware/tacticalrmm) is a self-hosted remote monitoring & management tool. diff --git a/src/components/Widgets/UptimeKumaStatusPage.vue b/src/components/Widgets/UptimeKumaStatusPage.vue new file mode 100644 index 00000000..be95ff9d --- /dev/null +++ b/src/components/Widgets/UptimeKumaStatusPage.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/src/components/Widgets/WidgetBase.vue b/src/components/Widgets/WidgetBase.vue index a148b476..b6ccf9b3 100644 --- a/src/components/Widgets/WidgetBase.vue +++ b/src/components/Widgets/WidgetBase.vue @@ -123,6 +123,7 @@ const COMPAT = { 'tfl-status': 'TflStatus', trmm: 'TacticalRMM', 'uptime-kuma': 'UptimeKuma', + 'uptime-kuma-status-page': 'UptimeKumaStatusPage', 'wallet-balance': 'WalletBalance', weather: 'Weather', 'weather-forecast': 'WeatherForecast',