Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ntmap with Netbox 3.0.8 #10

Open
github6043 opened this issue Oct 30, 2021 · 3 comments
Open

ntmap with Netbox 3.0.8 #10

github6043 opened this issue Oct 30, 2021 · 3 comments

Comments

@github6043
Copy link

Hi all, I just installed Netbox 3.0.8 and ntmap on the same Ubuntu 20.04 Host.
Netbox works fine, opening ntmap works also fine, I'm able to add groups and maps.
A soon as I open a map, I see Loading ... but get no map displayed. Any help would be appreciated.
cheer .. juerg

image

@github6043
Copy link
Author

The configuration.py looks like

PostgreSQL database configuration. See the Django documentation for a complete list of available parameters:

https://docs.djangoproject.com/en/stable/ref/settings/#databases

DATABASE = {
'NAME': 'netbox', # Database name
'USER': 'netbox', # PostgreSQL username
'PASSWORD': '!7p........M%', # PostgreSQL password
'HOST': 'localhost', # Database server
'PORT': '', # Database port (leave blank for default)
'CONN_MAX_AGE': 300, # Max database connection age

The ntmap, settings.ini looks like

db = dbname='ntmap' user='ntmap' host='localhost' password='ntmap'
max_objects_at_one_level = 100

[netbox]
db = dbname='netbox' user='netbox' host='localhost' password='!7p..........M%'

@den-it
Copy link
Owner

den-it commented Sep 15, 2022

Try to access API manually in your browser: http://localhost/data/l1map?id=1
Do you see any errors?

The response should look similar to this:

{
    "result": "success",
    "results": {
        "interfaces": {
            "dc1-blfsw01": [
                {
                    "description": "",
                    "device": "dc1-blfsw01",
                    "mgmt_only": true,
                    "name": "c0",
                    "neighbor_class": "devices",
                    "neighbor_interface_mgmt_only": null,
                    "neighbor_interface_speed": -1.0,
                    "neighbor_interface_type": null,
                    "netbox_id": 1411,
                    "speed": 1.0,
                    "type": "1000base-t"
                },
...

@den-it
Copy link
Owner

den-it commented Sep 18, 2022

Also, please ensure that you use latest Ntmap release. Currently - v0.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants