From f59292e8a7fa373bc7eed756c18195e04fd274f8 Mon Sep 17 00:00:00 2001 From: conlan0 Date: Wed, 12 Mar 2025 11:47:42 -0400 Subject: [PATCH] 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', }, }, )