netbox-agent/netbox_agent.yaml.example

12 lines
317 B
Text
Raw Normal View History

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]+)"
# driver: 'cmd:lldpctl'
2019-08-04 19:51:36 +02:00
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
#
# driver: "file:/tmp/datacenter"
# regex: "(.*)"