You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting "netbox_agent -c /etc/netbox_agent.yaml --register --debug" from a virtual machine the following is output:
Exception: virtual.cluster_name parameter is mandatory because it's a VM
So I added to the config:
virtual:
cluster_name: cluster.whatever
Which then throws:
AttributeError: 'VirtualMachine' object has no attribute 'print_debug'
Seems like a pretty simple fix to add debug here, and obviously useful.
When attempting "netbox_agent -c /etc/netbox_agent.yaml --register --debug" from a virtual machine the following is output:
Exception: virtual.cluster_name parameter is mandatory because it's a VM
So I added to the config:
virtual:
cluster_name: cluster.whatever
Which then throws:
AttributeError: 'VirtualMachine' object has no attribute 'print_debug'
Seems like a pretty simple fix to add debug here, and obviously useful.
Configuration file
netbox:
url: 'https://something.example'
token: '[redacted]'
ssl_verify: false
network:
ignore_interfaces: "(dummy.|docker.)"
ignore_ips: (127.0.0..*)
device:
server_role: "Server"
virtual:
cluster_name: foo.whatever
inventory: true
Environment:
Centos 7 (64-bit) running on current ESXi
Netbox agent version 0.6.2
The text was updated successfully, but these errors were encountered: