Each minute, every added source's lines matching a pattern in its window are counted. Alert on a count over 0 to hear of the first match; the alert clears once the window has passed it.
{% if not patterns %} {{ empty_state("No patterns yet. Add one of the ready-made ones below, or write your own.") }} {% else %}| Pattern | Matches | Window | Count now | {% if can_alert %}{% endif %} |
|---|---|---|---|---|
| {{ p.name }}{% if not p.enabled %} (off){% endif %} {{ p.metric }} |
{% if p.phrases %}{{ p.phrases[:3]|join(" · ") }}{% if p.phrases|length > 3 %} · +{{ p.phrases|length - 3 }} more{% endif %}{% endif %}
{% if p.severity %} {{ p.severity }} and worse {% endif %}
{% if p.scope %}from {{ p.scope }} only {% endif %}
|
{{ p.window }} min |
{% if not p.counts %}No added source
{% else %}{% for c in p.counts %} {{ "—" if c.value is none else c.value }} {{ c.source }} {% endfor %}{% endif %}
|
{% if can_alert %}
{% if p.alert_resource %}Alert on it{% endif %} {% if admin %}Edit{% endif %} | {% endif %}
How NAS and Linux kernels word storage trouble. Add one, then change its phrases if your devices word it differently.
| {{ p.name }} {{ p.about }} |
{{ p.phrases|join(" · ") if p.phrases else "err, crit, alert or emerg" }} |