Skip to content

Netbox registrator script to run on your infrastructure's servers

License

Notifications You must be signed in to change notification settings

devopstales/netbox-registrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netbox Registrator

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.

Features

  • 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 Device and Interface
  • Local inventory using Modules for 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)

Missing Features

  • 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 Device and Interface
    • Handle changes in physical disk, RAM
  • Automatic cabling (server's interface to switch's interface) using lldp

Requirements

  • Netbox >= 4.0
  • jq
  • ip
  • ethtoop
  • ipmitool
  • lldpd
  • smartmontools
  • lsblk
  • lshw

Inventory Optional requirement

  • hpassacli
  • hpacucli
  • storcli
  • omreport

About

Netbox registrator script to run on your infrastructure's servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages