thruk_reliability_report
Calculate reliability metrics like MTTR, MTBF, and incident counts for hosts and services from monitoring logs using structured filters and time windows.
Instructions
Per host/service reliability metrics (MTTR / MTBF / incidents) from the log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of host/service objects to return (busiest first, default 50). | |
| since | No | Start of analysis window. Thruk relative time ("-30d", "-7d") or ISO datetime ("2026-05-21 14:00:00"). Default: last 30 days. | -30d |
| until | No | End of the time window (same formats as since). Default: now. | |
| filter | No | Structured filter tree supporting AND/OR nesting. Two node types: leaf: {"type":"leaf", "field":"...", "op":"...", "value":...} group: {"type":"group", "operator":"and"|"or", "conditions":[...]} Available fields: custom_var, host, hostgroup, service Operators: eq, gte, in, lte, neq, regex Examples: # Objects in HG_AGILE: {"type":"leaf","field":"hostgroup","op":"eq","value":"HG_AGILE"} # In HG_AGILE OR with KERNEL=windows: {"type":"group","operator":"or","conditions":[ {"type":"leaf","field":"hostgroup","op":"eq","value":"HG_AGILE"}, {"type":"leaf","field":"custom_var","op":"eq","value":{"var":"KERNEL","val":"windows"}} ]} | |
| backends | No | Comma-separated backend names (sites). Omit for all backends. |