From c58d6f9ce72da9e93d4ce0a65384fe25f9580cbd Mon Sep 17 00:00:00 2001 From: conlan0 Date: Wed, 12 Mar 2025 11:47:21 -0400 Subject: [PATCH 1/3] change: now using monitoring v2 --- docs/widgets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/widgets.md b/docs/widgets.md index ac03ad54..cb4377ff 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -2347,7 +2347,7 @@ Linkding is a self-hosted bookmarking service, which has a clean interface and i | **Field** | **Type** | **Required** | **Description** | | ------------ | -------- | ------------ | ------------------------------------------------------------------------ | -| **`url`** | `string` | Required | The status endpoint URL (https://api.example.com/core/status/) | +| **`url`** | `string` | Required | The status endpoint URL (https://api.example.com/core/v2/status/) | | **`token`** | `string` | Required | The MON_TOKEN (see https://docs.tacticalrmm.com/tipsntricks/#monitor-your-trmm-instance-via-the-built-in-monitoring-endpoint). | #### Example @@ -2357,7 +2357,7 @@ Linkding is a self-hosted bookmarking service, which has a clean interface and i useProxy: true options: token: PkPVKMzbmXgeQDlJWb0WXYvsIk3JvZyadURud2cSTdMia6hUbQ - url: https://api.example.com/core/status/ + url: https://api.example.com/core/v2/status/ ``` #### Info From f59292e8a7fa373bc7eed756c18195e04fd274f8 Mon Sep 17 00:00:00 2001 From: conlan0 Date: Wed, 12 Mar 2025 11:47:42 -0400 Subject: [PATCH 2/3] change: now using monitoring v2 --- src/components/Widgets/TacticalRMM.vue | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/components/Widgets/TacticalRMM.vue b/src/components/Widgets/TacticalRMM.vue index 82f5e643..543e8f46 100644 --- a/src/components/Widgets/TacticalRMM.vue +++ b/src/components/Widgets/TacticalRMM.vue @@ -34,6 +34,26 @@
Cert Expired
{{ statusData.cert_expired ? 'Yes' : 'No' }}
+
+
Celery Queue Length
+
{{ statusData.celery_queue_len }}
+
+
+
Celery Queue Health
+
{{ statusData.celery_queue_health }}
+
+
+
NATS STD Ping
+
{{ statusData.nats_std_ping ? 'Healthy' : 'Unhealthy' }}
+
+
+
NATS WS Ping
+
{{ statusData.nats_ws_ping ? 'Healthy' : 'Unhealthy' }}
+
+
+
Mesh Ping
+
{{ statusData.mesh_ping ? 'Healthy' : 'Unhealthy' }}
+
Services Running
@@ -95,6 +115,7 @@ export default { }, authHeaders() { return { + 'X-MON-TOKEN': this.token, 'Content-Type': 'application/json', }; }, @@ -120,14 +141,12 @@ export default { const targetURL = url; const customHeaders = JSON.stringify(authHeaders); - axios.post( + axios.get( proxyReqEndpoint, - { auth: token }, { headers: { 'Target-URL': targetURL, CustomHeaders: customHeaders, - 'Content-Type': 'application/json', }, }, ) From 4668e5354e7f35d8b7052185e1ad18775fa4d53c Mon Sep 17 00:00:00 2001 From: conlan0 <87742085+conlan0@users.noreply.github.com> Date: Wed, 12 Mar 2025 11:58:10 -0400 Subject: [PATCH 3/3] change: new docs screenshot --- docs/widgets.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/widgets.md b/docs/widgets.md index cb4377ff..bc31f9c5 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -2340,7 +2340,8 @@ Linkding is a self-hosted bookmarking service, which has a clean interface and i [Tactical RMM](https://github.com/amidaware/tacticalrmm) is a self-hosted remote monitoring & management tool. -

Capture

+

+ Capture

#### Options