project-health-alert-authoring

Configure and validate Netdata health alerts using standardized NIDL-compliant alert definitions.

80.4k|6.6k|Updated Jun 17, 2013
One-click install
npx skills add https://github.com/netdata/netdata --skill project-health-alert-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-health-alert-authoring
Source: https://github.com/netdata/netdata/tree/main/.agents/skills/project-health-alert-authoring
Command: npx skills add https://github.com/netdata/netdata --skill project-health-alert-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of authoring production-grade monitoring alerts, preventing common issues like alert flapping, duplicate incident ownership, and incorrect recovery semantics in Netdata.

Core Features & Use Cases

  • Alert Contract Definition: Establishes clear incident ownership, signal contracts, and lifecycle behavior before implementation.
  • Pattern-Based Configuration: Provides standardized templates for dimension-based, cross-chart, and windowed-lookup alerts.
  • Lifecycle Validation: Guides the implementation of correct CLEAR, WARNING, CRITICAL, and REMOVED states to ensure accurate incident reporting.
  • Use Case: Use this to translate a Prometheus alert into a Netdata-native configuration, ensuring the alert correctly handles partial data gaps and avoids duplicate notifications.

Quick Start

Use the project-health-alert-authoring skill to review my proposed alert configuration for the system load context.

Frequently Asked Questions about project-health-alert-authoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Netdata health alert?

Define a new alert in a configuration file within `health.d/` using the `template` or `alarm` syntax. Ensure you establish an alert contract covering incident ownership, signal intent, and lifecycle behavior before finalizing the configuration.

How to prevent alert flapping in Netdata?

Prevent flapping by using a combination of stable lookup windows, separate raise/clear thresholds, and `delay` settings. Start by selecting the smallest truthful lookup window, then apply threshold hysteresis if the signal continues to hover near boundaries.

Does Netdata support Prometheus-style alert persistence?

Netdata does not use a Prometheus-style pending state machine. Instead, adapt persistence intent using Netdata-native observation windows and evaluation cadences, ensuring the configuration reflects the actual numeric state space of the monitored signal.

When should I use a helper alert?

Use a helper alert (with `to: silent`) when an alert requires complex database lookups or multi-stage calculations that cannot be expressed in a single expression. This allows consuming alerts to reference the helper's published value.

What are the limitations of cross-chart variables?

Cross-chart variables rely on label-score matching to identify the correct instance. If labels are not sufficiently unique across instances, the variable may resolve to an incorrect chart, leading to inaccurate alert evaluations.