diff --git a/docs/widgets.md b/docs/widgets.md index 0ff74199..bc6fe3a2 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -2782,14 +2782,16 @@ 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 | **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 @@ -2799,7 +2801,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 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', }, }, )