* added config file implementation, refactoring * add gitignore * improved test * preperations for more metrics * added resource metrics * added first bgp metrics * added asn as label for bgp metrics * added prefix and message counts to bgp metrics * simplified * Update README.md * added yaml dependency * fixed go routine call * added timeout * clean up * added TLS support * set default api port for TLS * added routes metric * added missing log information * added type collectorContext to reduce the count of parameters for better readability * added DHCP and DHCPv6 metrics * filter for active dhcp leases only * added pool metrics * enable/disable feature in config file * refactoring * clean up * comment fix
18 lines
257 B
YAML
18 lines
257 B
YAML
---
|
|
|
|
devices:
|
|
- name: test1
|
|
address: 192.168.1.1
|
|
user: foo
|
|
password: bar
|
|
- name: test2
|
|
address: 192.168.2.1
|
|
user: test
|
|
password: 123
|
|
|
|
features:
|
|
bgp: true
|
|
dhcp: true
|
|
dhcpv6: true
|
|
routes: true
|
|
pools: true |