2019-08-04 01:11:53 +02:00
|
|
|
netbox:
|
|
|
|
url: 'http://netbox.internal.company.com'
|
|
|
|
token: supersecrettoken
|
|
|
|
|
2019-08-09 12:08:11 +02:00
|
|
|
network:
|
|
|
|
ignore_interfaces: "(dummy.*|docker.*)"
|
|
|
|
ignore_ips: (127\.0\.0\..*)
|
|
|
|
|
2019-08-04 01:11:53 +02:00
|
|
|
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"
|
2019-08-05 11:54:06 +02:00
|
|
|
# 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"
|
2019-08-04 19:51:36 +02:00
|
|
|
# regex: "(.*)"
|