This project aims to create hardware automatically into Netbox based on standard tools (dmidecode, lldpd, parsing /sys/, etc).
The goal is to generate an existing infrastructure on Netbox and have the ability to update it regularly by executing the agent.
- Read Configs from config file or enviroment variable
- Create servers, chassis and blade through standard tools (
lshw)- Handle blade moving (new slot, new chassis)
- Create physical, bonding and bridge network interfaces with IPs (IPv4 & IPv6)
- Create IPMI interface if found
- Update existing
DeviceandInterface - Local inventory using
Modulesfor CPU, GPU, RAM, physical disks, Raid Controller, SAS Controller - PSUs creation and power consumption reporting (based on vendor's tools)
- Tetect and create
Platform(OS)
- Generic ability to guess datacenters and rack location (Configure in config file)
- Create or get existing VLAN and associate it to interfaces
- Detect if server is a VM
- Associate hypervisor devices to the virtualization cluster
- Associate virtual machines to the hypervisor device
- Update existing
DeviceandInterface- Handle changes in physical disk, RAM
- Automatic cabling (server's interface to switch's interface) using lldp
- Netbox >= 4.0
- jq
- ip
- ethtoop
- ipmitool
- lldpd
- smartmontools
- lsblk
- lshw
- hpassacli
- hpacucli
- storcli
- omreport