From 17c3605794ea0e0566741861046db2251b52034b Mon Sep 17 00:00:00 2001
From: conlan0 <87742085+conlan0@users.noreply.github.com>
Date: Thu, 25 Jul 2024 15:22:46 -0400
Subject: [PATCH 1/4] =?UTF-8?q?=E2=9C=A8=20Tactical=20RMM=20Widget?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Widgets/TacticalRMM.vue | 227 +++++++++++++++++++++++++
1 file changed, 227 insertions(+)
create mode 100644 src/components/Widgets/TacticalRMM.vue
diff --git a/src/components/Widgets/TacticalRMM.vue b/src/components/Widgets/TacticalRMM.vue
new file mode 100644
index 00000000..82f5e643
--- /dev/null
+++ b/src/components/Widgets/TacticalRMM.vue
@@ -0,0 +1,227 @@
+
+
+
+
+
+
Version
+
{{ statusData.version }}
+
+
+
Agent Count
+
{{ statusData.agent_count }}
+
+
+
Client Count
+
{{ statusData.client_count }}
+
+
+
Site Count
+
{{ statusData.site_count }}
+
+
+
Disk Usage
+
{{ statusData.disk_usage_percent }}%
+
+
+
Memory Usage
+
{{ statusData.mem_usage_percent }}%
+
+
+
Days Until Cert Expires
+
{{ statusData.days_until_cert_expires }}
+
+
+
Cert Expired
+
{{ statusData.cert_expired ? 'Yes' : 'No' }}
+
+
+
Services Running
+
+
+ {{ service }}
+
+ {{ status ? 'Running' : 'Stopped' }}
+
+
+
+
+
+
+
+
+
+ {{ errorMessage }}
+
+
+
+
+
+
+
+
From bfcccd0139724797f1c49a7fbd524d1dcb12088a Mon Sep 17 00:00:00 2001
From: conlan0 <87742085+conlan0@users.noreply.github.com>
Date: Thu, 25 Jul 2024 15:24:19 -0400
Subject: [PATCH 2/4] =?UTF-8?q?=E2=9C=A8=20Add=20Tactical=20RMM=20Widget?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Widgets/WidgetBase.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/components/Widgets/WidgetBase.vue b/src/components/Widgets/WidgetBase.vue
index 739388fa..bcb16e12 100644
--- a/src/components/Widgets/WidgetBase.vue
+++ b/src/components/Widgets/WidgetBase.vue
@@ -115,6 +115,7 @@ const COMPAT = {
'synology-download': 'SynologyDownload',
'system-info': 'SystemInfo',
'tfl-status': 'TflStatus',
+ trmm: 'TacticalRMM',
'uptime-kuma': 'UptimeKuma',
'wallet-balance': 'WalletBalance',
weather: 'Weather',
From 78ea929c9361275b7efe8bb9b9f1c675f54d086e Mon Sep 17 00:00:00 2001
From: conlan0 <87742085+conlan0@users.noreply.github.com>
Date: Thu, 25 Jul 2024 15:25:58 -0400
Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=A9=B9=20Send=20request=20body=20as?=
=?UTF-8?q?=20data=20instead=20of=20json?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
services/cors-proxy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/cors-proxy.js b/services/cors-proxy.js
index 9c51214c..e1c9a8b6 100644
--- a/services/cors-proxy.js
+++ b/services/cors-proxy.js
@@ -33,7 +33,7 @@ module.exports = (req, res) => {
const requestConfig = {
method: req.method,
url: targetURL,
- json: req.body,
+ data: req.body,
headers,
};
From 7051aeda83b072fc2ed1f3365aa84eeaf9d17c09 Mon Sep 17 00:00:00 2001
From: conlan0 <87742085+conlan0@users.noreply.github.com>
Date: Thu, 25 Jul 2024 15:54:37 -0400
Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=93=9D=20Add=20Tactical=20RMM=20Docum?=
=?UTF-8?q?entation?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/widgets.md | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/docs/widgets.md b/docs/widgets.md
index a657693a..4c504c21 100644
--- a/docs/widgets.md
+++ b/docs/widgets.md
@@ -67,6 +67,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)
+ - [Tactical RMM](#tactical-rmm)
- **[System Resource Monitoring](#system-resource-monitoring)**
- [CPU Usage Current](#current-cpu-usage)
- [CPU Usage Per Core](#cpu-usage-per-core)
@@ -2333,6 +2334,41 @@ Linkding is a self-hosted bookmarking service, which has a clean interface and i
- **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.
+
+

+
+
+#### Options
+
+| **Field** | **Type** | **Required** | **Description** |
+| ------------ | -------- | ------------ | ------------------------------------------------------------------------ |
+| **`url`** | `string` | Required | The status endpoint URL (https://api.example.com/core/status/) |
+| **`token`** | `string` | Required | The MON_TOKEN (see https://docs.tacticalrmm.com/tipsntricks/#monitor-your-trmm-instance-via-the-built-in-monitoring-endpoint). |
+
+#### Example
+
+```yaml
+- type: trmm
+ useProxy: true
+ options:
+ token: PkPVKMzbmXgeQDlJWb0WXYvsIk3JvZyadURud2cSTdMia6hUbQ
+ url: https://api.example.com/core/status/
+```
+
+#### Info
+
+- **CORS**: 🟠Proxied
+- **Auth**: 🟢 Required
+- **Price**: 🟢 Free
+- **Host**: Self-Hosted (see [Tactical RMM](https://github.com/amidaware/tacticalrmm) )
+- **Privacy**: _See [Tactical RMM](https://github.com/amidaware/tacticalrmm)_
+
+
---
## System Resource Monitoring