Skip to content

Show when an IP address was last seen, and its actual reverse DNS record in Netbox

License

Notifications You must be signed in to change notification settings

Yamada-Factory/netbox-ip-status

 
 

Repository files navigation

netbox-ip-status

指定したネットワーク内のすべてのアドレスにPINGを送信し、応答があれば記録する ツール

How to use

Dockerコンテナを使う方法

$ docker pull ghcr.io/yamada-factory/netbox-ip-status:latest
$ docker run -e NETBOX_API_KEY="mofumofu" -e NETBOX_URL="http://netbox.example.com" -e NETBOX_PREFIX_TAG="homelab-1" ghcr.io/yamada-factory/netbox-ip-status:latest

compose.yml

.env.sample を .env にコピーして編集

services:
  netbox-ip-status:
    image: ghcr.io/yamada-factory/netbox-ip-status:latest
    env_file:
      - .env

プログラムをそのまま実行する方法

$ git clone [email protected]/Yamada-Factory/netbox-ip-status.git && cd netbox-ip-status
$ cp .env.sample .env # edit .env
$ python netbox-ip-status.py

About

Show when an IP address was last seen, and its actual reverse DNS record in Netbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 94.2%
  • Dockerfile 5.8%