mirror of
https://github.com/Lissy93/dashy.git
synced 2026-01-24 00:31:50 +01:00
Merge 34729784c4 into a92e89133f
This commit is contained in:
commit
74dd148b0e
2 changed files with 27 additions and 6 deletions
|
|
@ -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.
|
||||
|
||||
<p align="center"><a href="https://ibb.co/NVHWpD1"><img src="https://storage.googleapis.com/as93-screenshots/dashy/tactical-rmm.png" alt="Capture" border="0"></a></p>
|
||||
|
||||
<p align="center"><a href="https://github.com/user-attachments/assets/152a7205-e5de-401f-bad8-19063ddfaf3c">
|
||||
<img src="https://github.com/user-attachments/assets/5921d46f-d84c-494d-8aaf-6b20cc592640" alt="Capture" border="0"></a></p>
|
||||
|
||||
|
||||
#### 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
|
||||
|
|
|
|||
|
|
@ -34,6 +34,26 @@
|
|||
<div class="title">Cert Expired</div>
|
||||
<div class="value">{{ statusData.cert_expired ? 'Yes' : 'No' }}</div>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<div class="title">Celery Queue Length</div>
|
||||
<div class="value">{{ statusData.celery_queue_len }}</div>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<div class="title">Celery Queue Health</div>
|
||||
<div class="value">{{ statusData.celery_queue_health }}</div>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<div class="title">NATS STD Ping</div>
|
||||
<div class="value">{{ statusData.nats_std_ping ? 'Healthy' : 'Unhealthy' }}</div>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<div class="title">NATS WS Ping</div>
|
||||
<div class="value">{{ statusData.nats_ws_ping ? 'Healthy' : 'Unhealthy' }}</div>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<div class="title">Mesh Ping</div>
|
||||
<div class="value">{{ statusData.mesh_ping ? 'Healthy' : 'Unhealthy' }}</div>
|
||||
</div>
|
||||
<div class="status-item services">
|
||||
<div class="title">Services Running</div>
|
||||
<div class="services-list">
|
||||
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue