Category Archives: devOPS

Netbox DCIM/IPAM

If you are looking for DCIM/IPAM tool please check: NetBox

What is NetBox?
NetBox is an infrastructure resource modeling (IRM) application designed to empower network automation. Initially conceived by the network engineering team at DigitalOcean, NetBox was developed specifically to address the needs of network and infrastructure engineers. NetBox is made available as open source under the Apache 2 license. It encompasses the following aspects of network management:

IP address management (IPAM) – IP networks and addresses, VRFs, and VLANs
Equipment racks – Organized by group and site
Devices – Types of devices and where they are installed
Connections – Network, console, and power connections among devices
Virtualization – Virtual machines and clusters
Data circuits – Long-haul communications circuits and providers

Installation:

yum -y install git
git clone -b release https://github.com/netbox-community/netbox-docker.git
cd netbox-docker
cat >> docker-compose.override.yml << DELIM
version: '3.4'
services:
  netbox:
    ports:
      - 8000:8080
DELIM
docker-compose pull
docker-compose up -d
[root@netbox ~]# docker ps
CONTAINER ID   IMAGE                         COMMAND                  PORTS                    NAMES
e056fcd95fec   netboxcommunity/netbox:v3.0   "/opt/netbox/docker-…"   0.0.0.0:8000->8080/tcp   netbox-docker_netbox_1
f84fcfe7d6db   netboxcommunity/netbox:v3.0   "/opt/netbox/venv/bi…"                            netbox-docker_netbox-worker_1
af12378ff6d7   postgres:13-alpine            "docker-entrypoint.s…"   5432/tcp                 netbox-docker_postgres_1
08680cc913ea   redis:6-alpine                "docker-entrypoint.s…"   6379/tcp                 netbox-docker_redis-cache_1
9899e0a9464c   redis:6-alpine                "docker-entrypoint.s…"   6379/tcp                 netbox-docker_redis_1

[root@netbox ~]# docker images
REPOSITORY               TAG         IMAGE ID       CREATED        SIZE
netboxcommunity/netbox   v3.0        1334d15fa421   2 months ago   437MB
redis                    6-alpine    f6f2296798e9   2 months ago   32.3MB
postgres                 12-alpine   d029edc38682   2 months ago   190MB
postgres                 13-alpine   b8c450ae0903   2 months ago   192MB
netboxcommunity/netbox   latest      0b9f3f9b6fbb   3 months ago   403MB

null
null