Oxidized collects running configs from routers and switches, stores versions over time, and exposes a REST API for fetches and diffs.
Overview
Oxidized is a network device configuration backup tool positioned as a RANCID replacement. It is lightweight, extensible, and supports more than 130 operating system types for gear from multiple vendors.
It automatically adjusts worker threads to meet a configured retrieval interval. Configurations can be written to plain files, Git, Git-Crypt, or HTTP backends; the Git backend is commonly recommended and creates a new commit whenever a device's running config changes. Git blame can reflect which user triggered a change when syslog hooks capture IOS or JunOS change events.
Node lists come from CSV (including rancid-compatible router.db), SQLite, MySQL, or HTTP sources. A REST API lists nodes, fetches configs, shows version history and diffs, reloads the node list, and can prioritize the next device to poll.
Configuration uses merged YAML from system and user paths; you can set OXIDIZEDHOME to change the config home. Hooks support exec actions, GitHub repos, AWS SNS, Slack, XMPP, and Cisco Spark diff notifications.
Installation is documented for Debian, Ubuntu, Rocky Linux, and FreeBSD, with optional container deployment via Docker or Podman. A systemd unit assumes a dedicated oxidized user; running as root is discouraged.
Key features
- Backups for 130+ network OS types
- Git, file, Git-Crypt, and HTTP outputs
- REST API for nodes, fetch, and diffs
- CSV, SQL, SQLite, and HTTP node sources
- Syslog-driven config change triggers
- Automatic thread scaling for poll interval
- Extensible models for new devices
- Notification hooks for config diffs
Use cases
- Versioned backup of router and switch configs
- Audit who changed a line via Git history
- Central polling from a shared device inventory
- On-demand config fetch through the API
- Replacing legacy RANCID-style workflows