2019-08-04 01:11:53 +02:00
|
|
|
netbox:
|
|
|
|
url: 'http://netbox.internal.company.com'
|
|
|
|
token: supersecrettoken
|
|
|
|
|
|
|
|
datacenter_location:
|
2019-08-04 19:51:36 +02:00
|
|
|
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
|
|
|
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
2019-08-04 01:11:53 +02:00
|
|
|
# driver: 'cmd:lldpctl'
|
2019-08-04 19:51:36 +02:00
|
|
|
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
|
|
|
|
#
|
|
|
|
# driver: "file:/tmp/datacenter"
|
|
|
|
# regex: "(.*)"
|