Repository navigation
Releases
Releases · hatam-abolghasemi/Auto-Doc
v1.1.0 — Datacenter-aware inventory
Datacenters and subnets
- New
subnets.yamlmaps each CIDR to a datacenter and a subnet group. Every machine getstarget_dcandtarget_subnet_group(most specific CIDR wins,unknownwhen nothing matches) inhosts.yamland every output JSON file, including per-subnet columns inip-inventory.json. - The same file is now the scan list: each CIDR is expanded into /24s;
scan: falsekeeps an entry for labelling only. Thesubnetsvar inmain.yamlis now computed from it, and-e subnets=...still overrides it.
Discovery
- One shared time budget per host (
discovery_ssh_timeout, default 120s) across all user+key attempts, and a configurableConnectTimeout(discovery_ssh_connect_timeout, default 20s). - Hosts that fail for a non-auth reason are retried (
discovery_ssh_retries,discovery_ssh_retry_delay,discovery_ssh_retry_connect_timeout); auth refusals are not. - Every private key in
discovery_ssh_key_dir(default~/.ssh) is tried, each offered on its own withIdentitiesOnly=yesso many keys no longer tripMaxAuthTries. - New
outputs/.discovery_failures.logandoutputs/.discovery_retries.logsay which hosts were dropped or flaky, and why. - Optional
discovery_ssh_bypass_proxyadds-o ProxyCommand=none, for control nodes where a globalProxyCommand(e.g. SSSD) stalls SSH. - Probing concurrency raised from 50 to 200;
ansible.cfgsetsforks = 100.
Collection
toolschecks every tool in one SSH round-trip per host instead of one per tool.
Google Sheets export
- Machines gains DC and Subnet Group columns, colored per datacenter, and is listed in IP order with a divider at every /24.
- Groups gains DC and Subnet Groups mix columns.
- Workbook font is now Calibri.
Grafana
- Dashboard tables show
target_dcandtarget_subnet_groupright aftertarget_group.
Project
- Sample data in
examples/outputs/carries the new fields;subnets.yamlships with example ranges.
v1.0.0 — Google Sheets export
First stable release.
Discovery and collection
- Discovers machines from a list of subnets, with no inventory file to maintain; grouping comes from hostnames.
- Resolves each machine's real static IP (netplan, then default route) when it answers on several.
- Collects OS, CPU, memory, storage (LVM/Ceph/NFS-aware), network, installed tools and Docker containers over plain SSH and shell. Targets need no Python and no agent, and are never modified.
- Writes one flat, sorted JSON file per component to
outputs/, plus a subnet-based IP inventory.
Grafana
docker-compose.ymlservesoutputs/through the bundledjson-exposer, anddashboard.jsonis a ready-made dashboard for the Infinity datasource.
Google Sheets export
- New
sheetsplay buildsoutputs/auto-doc.xlsx: Overview, Groups, Machines, Storage, Network, IP Map, Subnets, Services, Service Details and Containers. - One row per machine in Machines (OS, CPU, memory merged), one-to-many data in linked tabs; names, groups, counts and subnets jump to the related rows.
- Value-based coloring: OS versions, capacity shading, running/stopped/not-on-boot services, down NICs, read-only disks, IP conflicts, subnet utilization.
- Publishes to the same Google Sheet every run through a service account, with settings in a gitignored
secrets/sheets.yamland optional HTTPS proxy support. Setup guide:docs/google-sheets.md.
Project
- CI checks the playbook and scripts, and builds the sample workbook on every push.
- Releases attach the workbook built from
examples/outputs/.