> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# homelab api monitor

> مرجع مولَّد لأوامر homelab api monitor

> [!NOTE]
>
> Generated from the Homelab v0.41.15 release (source `b5b268760b34`). For an installed version, `homelab api <command> --help` is authoritative.

## homelab api monitor alerts list

عرض تنبيهات المراقبة النشطة.

```bash theme={null}
homelab api monitor alerts list [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/alerts` |
| يغيّر الحالة | لا |
| أداة MCP | `list_monitor_alerts` |

## homelab api monitor alerts rules

عرض قواعد تنبيهات المراقبة.

```bash theme={null}
homelab api monitor alerts rules [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/alerts/rules` |
| يغيّر الحالة | لا |
| أداة MCP | `list_monitor_alert_rules` |

## homelab api monitor availability

التوفر وفترات التوقف والحالة اليومية، مشتقة من الخط الزمني للانتقالات.

إسقاط فوق الخط الزمني لانتقالات الخادم القائم على الإلحاق فقط، وليس أداة أخذ عينات: كل فترة محصورة بانتقالين مسجَّلين وتحمل رموز الأسباب التي كُتبا بها. تنشر الاستجابة مفردات الاحتساب الخاصة بها، ليتمكن القارئ من معرفة حالات الاتصال التي احتُسبت توقفاً دون قراءة المصدر.

```bash theme={null}
homelab api monitor availability [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/availability` |
| يغيّر الحالة | لا |
| أداة MCP | `get_availability_report` |

| الوسيط | النوع | الوصف |
| - | - | - |
| `--window` | string | مجموعة مغلقة؛ فالنافذة غير المحدودة ستكون منفذاً لهجمات حجب الخدمة. إحدى القيم: `24h`، `7d`، `30d`، `90d`. الافتراضي `"30d"`. |
| `--server-id` | string | حصر التقرير في خادم واحد، لصفحة تفاصيل الخادم. |

## homelab api monitor domains

Read domain lifecycle and observed DNS/TLS differences.

Owner and tenant scoped, read-only projection of canonical routing,
server domains and service endpoints. Registration expiry from RDAP
and certificate expiry from the presented public TLS leaf are separate
facts with independent sources and observation deadlines. Missing data
stays unknown. Expected DNS is never inferred from observed addresses.
Proxied origins are explicitly unobservable from recursive public DNS.
Conditions persist across failures and stale observations, and resolve
only after fresh positive evidence. An unavailable store returns 503.

```bash theme={null}
homelab api monitor domains [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/domains` |
| Changes state | No |
| MCP tool | `get_monitor_domains` |

| Argument | Type | Description |
| - | - | - |
| `--server-id` | string | — |
| `--service-id` | string | — |

## homelab api monitor drive-health alerts

Read active and recovered drive-health condition episodes.

Authenticated, tenant-scoped read of hardware and collection conditions.
Each condition names its affected server and, when attributable, immutable
drive identity, severity, observed evidence and recommended next step.
Collection failures are distinct from hardware diagnoses. Stable episode
IDs deduplicate unchanged conditions; resolved\_at records recovery only
when fresh evidence covers the condition. Anonymous collection incidents
deduplicate by server and path, independently of anonymous hardware IDs.
Nonzero cumulative counters describe historical totals; measured increases
are separate conditions. NVMe command-error increases and consumed rated
endurance are advisories, rather than standalone evidence of media failure.
Resolved history is bounded to 64 episodes per condition scope and 90 days.
Reads initiate no repair, device mutation or provider action.

```bash theme={null}
homelab api monitor drive-health alerts [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/drive-health/alerts` |
| Changes state | No |
| MCP tool | `get_monitor_drive_health_alerts` |

| Argument | Type | Description |
| - | - | - |
| `--server-id` | string | Restrict evidence to one server within the authenticated tenant; an unobserved server remains explicitly missing. |

## homelab api monitor drive-health get

Read per-drive SMART and NVMe health evidence.

Authenticated, tenant-scoped projection of Guard drive observations.
Self-hosted installations use their configured installation tenant.
Hardware identities retain history independently of mutable device paths;
replacements never inherit earlier readings. Anonymous observations have
attempt-specific IDs and cannot establish historical continuity.
Missing, unsupported, inaccessible, incomplete, stale and disconnected
observations stay explicit and cannot imply healthy hardware. A server
with no observations returns a missing state when selected explicitly.
Last successful readings remain historical evidence when a new attempt
fails. Only a complete inventory or an explicit missing observation can
establish disconnection, and an unreadable identity at a seen path stays
uncertain. Reads age evidence and condition episodes, without initiating
collection, self-tests, repairs, provisioning or other device actions.
Capacity growth forecasts remain on the separate storage-forecast route.

```bash theme={null}
homelab api monitor drive-health get [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/drive-health` |
| Changes state | No |
| MCP tool | `get_monitor_drive_health` |

| Argument | Type | Description |
| - | - | - |
| `--server-id` | string | Restrict evidence to one server within the authenticated tenant; an unobserved server remains explicitly missing. |

## homelab api monitor health

جلب تشخيصات الحالة الصحية لاستيعاب بيانات المراقبة واستعلامها.

```bash theme={null}
homelab api monitor health [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/health` |
| يغيّر الحالة | لا |
| أداة MCP | `get_monitor_health` |

## homelab api monitor metrics label-values

عرض قيم تسمية مقياس.

```bash theme={null}
homelab api monitor metrics label-values [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/metrics/values` |
| يغيّر الحالة | لا |
| أداة MCP | `list_monitor_metric_label_values` |

| الوسيط | النوع | الوصف |
| - | - | - |
| `--name` | string | **مطلوب.** |

## homelab api monitor metrics labels

عرض أسماء تسميات المقاييس.

```bash theme={null}
homelab api monitor metrics labels [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/metrics/labels` |
| يغيّر الحالة | لا |
| أداة MCP | `list_monitor_metric_labels` |

## homelab api monitor metrics names

عرض أسماء المقاييس.

```bash theme={null}
homelab api monitor metrics names [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/metrics/names` |
| يغيّر الحالة | لا |
| أداة MCP | `list_monitor_metric_names` |

## homelab api monitor query

تشغيل استعلام PromQL لحظي.

```bash theme={null}
homelab api monitor query [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/metrics/instant` |
| يغيّر الحالة | لا |
| أداة MCP | `instant_monitor_query` |

| الوسيط | النوع | الوصف |
| - | - | - |
| `--q` | string | **مطلوب.** |
| `--time` | string | — |

## homelab api monitor query-range

تشغيل استعلام PromQL لنطاق زمني.

```bash theme={null}
homelab api monitor query-range [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/metrics/query` |
| يغيّر الحالة | لا |
| أداة MCP | `range_monitor_query` |

| الوسيط | النوع | الوصف |
| - | - | - |
| `--q` | string | **مطلوب.** |
| `--start` | string | — |
| `--end` | string | — |
| `--step` | string | — |

## homelab api monitor status

جلب حالة الواجهة الخلفية للمراقبة والبيانات الوصفية لوقت التشغيل.

```bash theme={null}
homelab api monitor status [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/status` |
| يغيّر الحالة | لا |
| أداة MCP | `get_monitor_status` |

## homelab api monitor storage-forecast

Project filesystem growth from observed storage gauges.

Read-only, tenant-scoped projection of node\_disk\_used\_bytes with
contemporaneous node\_disk\_total\_bytes or used plus free bytes. The
latter is effective usable capacity, not physical disk capacity.
Uses a 14-day window with hourly query evaluation, retaining actual
source observation times and deduplicating repeated lookback values.
Counts describe hourly sampled observations, not all ingested samples;
sparse observations outside the backend lookback may be absent. No
interpolation or per-service storage attribution is performed. Separate
origin/source streams remain separate resources and are never summed.
Guard OTLP times describe Guard collection, not original OTLP point time.
Unknown capacity, stale/inadequate history and inconsistent measurements
return an explicit state without an exhaustion estimate. Exhaustion is
a growth scenario range measured from the latest observation, not a
statistical confidence interval. Both bounded queries share a timeout.

```bash theme={null}
homelab api monitor storage-forecast [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/monitor/storage-forecast` |
| Changes state | No |
| MCP tool | `get_monitor_storage_forecast` |

| Argument | Type | Description |
| - | - | - |
| `--node-id` | string | — |
| `--server-id` | string | — |
| `--agent-id` | string | — |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.