Jobs¶
Syncs and maintenance tasks run as jobs. A job is one trigger (a
single target, or Sync all) made of one task per target. The
primary dispatches each task to a connected worker that handles that
target. Housekeeping runs in-process on the primary. NetBox changes
(netbox-delta) reuse the netbox command and append --delta (list it
in that command's allow_args). A worker.commands entry named
netbox-delta is ignored.
Overview¶
Jobs → Overview has three tabs: Overview, Status, and Workers.
Overview¶
Tiles are grouped:
- Sources — BECS, Lime, NetBox, Device sync (update Factum, or write devices into NetBox so NetBox sync can)
- Destinations — DNS, Certificates, Icinga, LibreNMS, Oxidized, Prometheus (generated from Factum)
- Maintenance — housekeeping (trim old job history)
Sync on a tile queues that target. Sync all runs every enabled sync target in source-then-destination order, one at a time, so a destination never writes from stale Factum data. Housekeeping is not included in Sync all; run it from its tile or a schedule.
If no connected worker handles a target, the job is created and marked failed immediately — it still shows up in history.
Status¶
Status lists recent jobs. Open a job to see per-target tasks, exit
code, and (when the worker command was given --job) structured
info/warning/error lines.
Workers¶
Workers shows which worker nodes are configured vs actually connected, the roles each one handles, and the last error.
Scheduler¶
Scheduler stores cron entries. Each row has a name, one or more jobs
(all, or any combination of job names such as dns, icinga,
housekeeping, and device-sync), an enabled flag, and last/next run.
Several jobs run one at a time, sources before destinations. All jobs
stands alone — it is every enabled sync, and it does not include
housekeeping. Presets cover common intervals; Custom is a five-field
cron expression.
Nothing starts housekeeping on its own. If you want old jobs pruned, create a schedule for it (or click Run on the overview tile).
Device deletions¶
LibreNMS delayed delete is a separate queue: devices LibreNMS still has that Factum no longer wants monitored. Device deletions lists them with a reason (no matching Factum device, disabled, not monitored). Operators can wait for the grace period or delete on the next sync. Enable the delay and its day count under Admin → Destinations → LibreNMS.