add datacenter location awareness with pseudo-driver (cmd and file)
This commit is contained in:
parent
396c4b5d10
commit
8b8cd68ff2
7 changed files with 84 additions and 18 deletions
9
netbox_agent.yaml.example
Normal file
9
netbox_agent.yaml.example
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
netbox:
|
||||
url: 'http://netbox.internal.company.com'
|
||||
token: supersecrettoken
|
||||
|
||||
datacenter_location:
|
||||
driver: file:/etc/qualification
|
||||
regex: "datacenter: (?P<datacenter>[A-Za-z0-9]+)"
|
||||
# driver: 'cmd:lldpctl'
|
||||
# regex = 'SysName: .*\.(?P<datacenter>[A-Za-z0-9]+)'
|
||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue