drygdryg / netbox-device-autodiscovery

Script for network scanning and automatic device discovery for NetBox
88 stars 23 forks source link

use autodiscovery with docker netbox #5

Open Kawabountou opened 2 years ago

Kawabountou commented 2 years ago

Hi and thanks for your job,

I come to you because I can't use your plugin.

What I use : Docker with docker-compose : https://github.com/netbox-community/netbox-docker What I do : 1 - i download your centent scripts in the folder /etc/netbox/scripts 2 - I rename the file "configuration.example.toml" to "configuration.toml"

What I have : Server Error There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'FileNotFoundError'>

[Errno 2] No such file or directory: 'configuration.toml'

Python version: 3.9.5 NetBox version: 3.1.6 If further assistance is required, please post to the NetBox discussion forum on GitHub.

Can you help me pls :)

Thanks in advance.

Romain

drygdryg commented 2 years ago

This project is not a NetBox script. It runs independently, outside of NetBox. You can run in any Linux environment where there is Python, Nmap and root access. It interacts with NetBox remotely via its HTTP API.