Open github6043 opened 2 years ago
The configuration.py looks like
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%'
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"
},
...
Also, please ensure that you use latest Ntmap release. Currently - v0.8.0
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