Scroll to navigation

nbox-export-device-inventory(1) General Commands Manual nbox-export-device-inventory(1)

NAME

nbox-export-device-inventory - Emit a device inventory — one record per device (name, status, role, site, model, platform, serial, asset tag, rack, primary IP, tenant, tags), filtered by any combination of `--site` / `--role` / `--tag` / `--status` / `--manufacturer` (all by slug/value, ANDed). Default output is a JSON array; `--format csv` emits a spreadsheet-ready table

SYNOPSIS

nbox export device-inventory [--site] [--role] [--tag] [--status] [--manufacturer] [--format] [-h|--help]

DESCRIPTION

Emit a device inventory — one record per device (name, status, role, site, model, platform, serial, asset tag, rack, primary IP, tenant, tags), filtered by any combination of `--site` / `--role` / `--tag` / `--status` / `--manufacturer` (all by slug/value, ANDed). Default output is a JSON array; `--format csv` emits a spreadsheet-ready table

OPTIONS

Filter by site slug
Filter by device-role slug
Filter by tag slug
Filter by status value (e.g. `active`, `offline`)
Filter by manufacturer slug
Output format: `json` (a JSON array of records, default) or `csv`

Possible values:

  • json: A JSON array of inventory records
  • csv: A CSV table (header + one row per device)
Print help (see a summary with '-h')
device-inventory