20 lines
No EOL
499 B
Text
20 lines
No EOL
499 B
Text
netbox:
|
|
url: 'http://netbox.internal.company.com'
|
|
token: supersecrettoken
|
|
|
|
datacenter_location:
|
|
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
|
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
|
# driver: 'cmd:lldpctl'
|
|
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
|
|
#
|
|
# driver: "file:/tmp/datacenter"
|
|
# regex: "(.*)"
|
|
|
|
rack_location:
|
|
# driver: 'cmd:lldpctl'
|
|
# match SysName: sw-dist-a1.dc42
|
|
# regex: 'SysName:[ ]+[A-Za-z]+-[A-Za-z]+-([A-Za-z0-9]+)'
|
|
#
|
|
# driver: "file:/tmp/datacenter"
|
|
# regex: "(.*)" |