Skip to main content
Version: 3.1.0 (Preview)

Alerts

Ambari alerts evaluate service health using definitions supplied by Stack services and the Ambari alert API. An alert definition identifies a service/component target, an interval, thresholds or a check implementation, and its reporting state.

Stack and API alert definitions flowing through interval scheduling, checks, state evaluation, history, React display, and optional notification dispatch

Evaluation records alert state and history on every configured interval. Notification delivery is a separate, optional branch from the evaluated state.

Definition Types

Stack alerts.json definitions can use checks appropriate to the service. WEB checks an HTTP endpoint, PORT checks TCP reachability, SCRIPT runs a service health script, and JMX evaluates a JMX value when the service exposes one. These are distinct checks and must not be treated as interchangeable Prometheus integrations.

Definitions are grouped and associated with services. Ambari evaluates them on their configured interval and records OK, WARNING, CRITICAL, or UNKNOWN states. The alert API exposes definitions, groups, current states, and history through the normal Ambari Server API.

Configuration And Permissions

Alert definitions may resolve host, port, protocol, and credentials from effective service configuration. Keep secret values in protected Ambari configuration; do not place passwords in a Blueprint or alert example. Users need the relevant cluster and service permissions to read or modify alert definitions and groups.

Notifications are separate from evaluation. Ambari can dispatch alert notifications through its configured notification targets, including email, SNMP, or scripts where enabled. This document does not define a Prometheus Alertmanager integration or an AMS endpoint.

Use The Alert API

  1. Inspect service alert definitions and groups in the Ambari API.
  2. Confirm the effective configuration used by the check.
  3. Run or wait for the configured interval and inspect the resulting state.
  4. Correct the endpoint, port, script, JMX attribute, threshold, or service state reported by the alert.
  5. Verify notification delivery separately from the alert state.

Current definitions and check implementations are in the pinned BIGTOP service resources and alert dispatchers.