# jaque > A check-based monitoring engine with Nagios-class semantics on an event-sourced core, shipped as a single binary. ## 1. Introduction - [Install](https://jaque.sh/docs/get-started/install.md): Install jaque from pkgs.jaque.sh with a package manager, or download and verify the archive by hand. - [Quickstart](https://jaque.sh/docs/get-started/quickstart.md): Run the jaque binary, write a three-line CUE config, run it, and read the dashboard, metrics and status endpoint it serves for free. - [Live demo](https://jaque.sh/docs/get-started/live-demo.md): A public jaque instance at demo.jaque.sh, read-only, monitoring endpoints their owners publish for public consumption, with the config it runs published alongside it. - [From Nagios](https://jaque.sh/docs/get-started/from-nagios.md): Compile an existing Nagios config tree to native CUE with jaque import, and read the migration report it writes instead of trusting the output blind. ## 2. The model - [Architecture](https://jaque.sh/docs/concepts/architecture.md): How a check result becomes a page. Scheduler, executors, the pure state machine, the event log, projections, the notifier, event handlers and sinks, and the -target flag that assigns them to processes. - [State model](https://jaque.sh/docs/concepts/state-model.md): The soft/hard state machine, flap detection, acks, downtimes and dependency reachability that decide when a human is paged. - [Event sourcing](https://jaque.sh/docs/concepts/event-sourcing.md): Why every state mutation is an event appended to one log, what the consumers downstream of it are, and what that buys beyond an audit trail. - [Why CUE](https://jaque.sh/docs/concepts/why-cue.md): Why config is CUE instead of Nagios-style template inheritance, and the two phases a config is validated in before a check runs. - [Business processes](https://jaque.sh/docs/concepts/business-processes.md): Logical objects computed from other objects' hard states, with a business impact score, a root-cause trace and notifications through an existing policy. ## 3. Checks - [Native checks](https://jaque.sh/docs/checks/native-checks.md): The six check types that run in-process, their config shapes and defaults, and the two flags that bound how many run at once. - [Legacy exec plugins](https://jaque.sh/docs/checks/legacy-exec-plugins.md): The Nagios plugin exec protocol as jaque runs it, the perfdata grammar it parses, process-group isolation on timeout, and why the support is permanent. - [WASM checks](https://jaque.sh/docs/checks/wasm-checks.md): WASI command modules run on the embedded WASM runtime without a subprocess, the sandbox a config-declared module gets, the ABI it speaks, and the memory cap. - [Command checks](https://jaque.sh/docs/checks/command-checks.md): The commands map and $ARGn$ macros, jaque's equivalent of check_command name!arg1!arg2, and the two expansion modes. ## 4. Configuration - [CUE in practice](https://jaque.sh/docs/config/cue-in-practice.md): A worked config against jaque's schema, from one host to services, templates, contacts, labels, zones and validation, with every snippet loadable as written. - [Labels and views](https://jaque.sh/docs/config/labels-and-views.md): Key/value labels as the grouping model in place of hostgroups, the selector grammar commands accept, and saved views as names bound to selectors. - [Nautobot import](https://jaque.sh/docs/config/nautobot-import.md): How jaque import turns the device list of a Nautobot into hosts and labels, what it leaves out and reports, and how to attach services and keep the file current. - [Timeperiods](https://jaque.sh/docs/config/timeperiods.md): Named schedules with date exceptions, exclusions and a timezone, and the five places in a config that reference one. - [Downtimes](https://jaque.sh/docs/config/downtimes.md): The three kinds of downtime, what taking effect means for each, catch-up after a restart, and recurring downtimes declared in config. - [Dependencies](https://jaque.sh/docs/config/dependencies.md): Explicit dependencies with failure criteria, how they differ from parents, and what suppress, states, inherits and period each do. - [Event handlers](https://jaque.sh/docs/config/event-handlers.md): Commands run on a state change, the handlers and event_handlers blocks, the macros a handler template sees, and where the run is recorded. - [Hot reload](https://jaque.sh/docs/config/hot-reload.md): What SIGHUP applies live, in what order, what it writes to the event log, and what a rejected or object-removing reload does. - [Config schema reference](https://jaque.sh/docs/reference/config-schema.md): Every top-level definition in config/schema.cue, fields, types, defaults and constraints, transcribed from the schema. ## 5. Notifications - [Contacts and policies](https://jaque.sh/docs/notifications/contacts-and-policies.md): The seven contact types, the shape of a notification policy, and how a policy is wired to a host or service by name. - [Escalations and windows](https://jaque.sh/docs/notifications/escalations-and-windows.md): The exact mechanics of a policy's escalation ladder, its re-notification throttle and its time windows, and the order suppression is checked in. - [Notification kinds](https://jaque.sh/docs/notifications/kinds.md): The ten notification kinds jaque sends, what fires each one, what silences it, and how it maps onto the escalation ladder and the incident platforms. - [Adapters](https://jaque.sh/docs/notifications/adapters.md): The seven delivery adapters, how delivery is made durable and idempotent through the event log, and where delivery runs relative to the engine that decides. ## 6. Ingest - [Passive checks](https://jaque.sh/docs/ingest/passive-checks.md): Objects whose results are pushed in rather than polled, the required freshness threshold, what stale_status does when results stop, and the two doors results come through. - [FIFO and API](https://jaque.sh/docs/ingest/fifo-and-api.md): The two doors external commands and passive results come through, the Nagios command file and the ConnectRPC CommandService, and the one channel both feed. - [SNMP traps](https://jaque.sh/docs/ingest/snmp-traps.md): A reference pipeline that turns a trap flood into passive check results, with no trap listener in the binary and no process forked per trap. ## 7. Running it - [Choose your deployment](https://jaque.sh/docs/deployment/choose.md): Two questions, where it runs and how many nodes, decide which guide to follow, routing to real files under deploy/ that CI brings up. - [Single node, systemd](https://jaque.sh/docs/deployment/guides/systemd-single.md): One host, the packaged jaque.service, the event log on local disk, from a fresh Debian, Ubuntu, Fedora or RHEL machine to a running jaque. - [Split by role, systemd](https://jaque.sh/docs/deployment/guides/systemd-distributed.md): One unit per role (engine, worker, ui, notifier, sink) across hosts you manage, sharing a log server, from fresh machines to a running, role-split jaque. - [Single node, compose](https://jaque.sh/docs/deployment/guides/compose-single.md): One jaque container, -target all, the event log on a named volume, from Docker installed to a running jaque with docker compose up. - [Split by role, compose](https://jaque.sh/docs/deployment/guides/compose-distributed.md): One container per role sharing a log server, all in one docker compose stack, from Docker installed to a running, role-split jaque. - [Single node, Kubernetes](https://jaque.sh/docs/deployment/guides/kubernetes-single.md): The Helm chart in standalone mode, one pod running -target all with a persistent event log, from helm install to a running jaque. - [Split by role, Kubernetes](https://jaque.sh/docs/deployment/guides/kubernetes-distributed.md): The Helm chart in split mode, one workload per role sharing a log server, from helm install to a running, role-split jaque. - [Overview](https://jaque.sh/docs/deployment/overview.md): Why -target all is the default deployment shape, what each further -target adds, and the one server that ever sits between two roles. - [Topologies](https://jaque.sh/docs/deployment/topologies.md): The seven -target roles, what each requires and forbids, and how process split and engine count compose into standalone, split-by-role and HA shapes. - [Aggregator](https://jaque.sh/docs/deployment/aggregator.md): One dashboard above several complete deployments, covering the realms document, what a realm needs to be aggregated, how degraded realms render, and how commands are routed. - [Cluster and coordination](https://jaque.sh/docs/deployment/cluster-and-coordination.md): The mechanism behind multi-engine deployments, covering membership, rendezvous-hashed ownership, heartbeats, epoch fencing, one-hop command forwarding. - [Kubernetes](https://jaque.sh/docs/deployment/kubernetes.md): The Helm chart, covering deploymentMode, the values each shape reads, what the chart refuses at render time, and the image it deploys. - [Docker](https://jaque.sh/docs/deployment/docker.md): Running jaque's distroless container image, the JAQUE_ env-var mapping that configures it, and mounting a config with perfdata sinks. - [Security](https://jaque.sh/docs/deployment/security.md): What jaque authenticates when you turn it on (a token-gated command API, or an opt-in auth document with real identities and roles), what it never authenticates, and the trust model that follows. - [Operations](https://jaque.sh/docs/deployment/operations.md): Durability by -eventlog backend, retention windows, backing up the on-disk event log store, upgrading by replacing the binary, and what to check when something looks wrong. - [Audit log](https://jaque.sh/docs/deployment/audit-log.md): What jaque records about every command that reaches it, where the trail is kept, and what happens when a write fails. ## 8. Observing it - [Dashboard](https://jaque.sh/docs/ui/dashboard.md): The embedded dashboard, page by page. Overview, object tables, object detail, history, downtimes, contacts, groups, settings, sinks and the command palette, and what it reads from. - [Datasources and panels](https://jaque.sh/docs/ui/panels.md): The datasources block, dashboard panels, the three query forms, the raw SQL column contract and macros, counter rate handling, and where graphs appear in the dashboard. - [Metrics](https://jaque.sh/docs/observability/metrics.md): Every Prometheus series jaque exposes about its own health, by subsystem, and the one series that is the earliest warning that something is falling behind the log. - [Sinks and perfdata](https://jaque.sh/docs/observability/sinks-and-perfdata.md): How perfdata sinks are declared in CUE, the seven sink types, unit normalization, the remote_write series shape, retries, hot reload and ownership in a cluster. - [State history](https://jaque.sh/docs/observability/state-history.md): Why jaque keeps no all-time store of its own, how an events-input sink turns the log into queryable state history, and reference SQL for SLA, MTTR and flap analysis. - [SLA](https://jaque.sh/docs/observability/sla.md): The slo config block, how uptime and error budget are computed over a range, and the two RPCs a report is read from. - [Archive](https://jaque.sh/docs/observability/archive.md): The archive sink, the event log's cold tier. Every event as zstd-compressed JSON lines in segments named by sequence range, readable with ordinary tools and without jaque. ## 9. Nagios compatibility - [Overview](https://jaque.sh/docs/nagios-compat/overview.md): The four compatibility surfaces that let an existing Nagios estate keep running while the engine underneath changes. - [Exec plugins](https://jaque.sh/docs/nagios-compat/exec-plugins.md): Why any Nagios exec-protocol plugin runs on jaque unmodified, and why that support has no deprecation runway. - [FIFO external commands](https://jaque.sh/docs/nagios-compat/fifo-external-commands.md): The exact wire format of every FIFO command verb jaque accepts, field by field. - [Livestatus](https://jaque.sh/docs/nagios-compat/livestatus.md): The Livestatus protocol implementation that lets Thruk, NagVis and Checkmk read jaque's state unmodified. - [Importer](https://jaque.sh/docs/nagios-compat/importer.md): How the Nagios importer pipeline works, what it maps versus approximates versus drops, and how far it's been verified. ## 10. Reference - [CLI flags](https://jaque.sh/docs/reference/cli-flags.md): Every CLI flag, its default, and its mechanically-derived env var equivalent, grouped by subsystem. - [Event log schema reference](https://jaque.sh/docs/reference/event-log-schema.md): The wire envelope every event is framed in, and one row per payload type, transcribed from the implementation. - [Command and query service](https://jaque.sh/docs/api/command-and-query-service.md): The ConnectRPC command and query API, the same RPCs the dashboard calls, and what each write and read actually does. - [Admin service](https://jaque.sh/docs/api/admin-service.md): AdminService, the ConnectRPC config write surface. What ValidateConfig, ApplyConfig, GetConfig and ListAuditRecords do, and why all four require the admin role. ## 11. Project - [Status](https://jaque.sh/docs/project/status.md): What's shipped and tested, what's implemented but unverified, and what doesn't exist yet, with the evidence for each. - [How it is verified](https://jaque.sh/docs/project/verification.md): The model checker that proves engines never disagree on an object's state, the invariants the core is tested against by generation, and what is proven against a real process. - [Benchmarks](https://jaque.sh/docs/project/benchmarks.md): What a given estate costs, measured on one machine, and the command that reproduces the run. - [Roadmap](https://jaque.sh/docs/project/roadmap.md): What's planned next, in broad terms, without the detail that would commit to dates. - [Design decisions](https://jaque.sh/docs/project/adrs.md): The handful of externally observable architecture decisions that shape everything else about jaque. - [Changelog](https://jaque.sh/docs/changelog.md): The list of released versions, rendered from the project's own changelog data. - [Terms of use](https://jaque.sh/docs/project/terms.md): The terms under which the software, the packages and this site are offered, and the limits of what Parsecode Labs, S.L. answers for. - [Privacy](https://jaque.sh/docs/project/privacy.md): What this site, the package repositories and the jaque binary do and do not collect about you.