Commit Graph

13 Commits

Author SHA1 Message Date
Bartosz "mastier" Woronicz 9621ce9654 add support for LTE interface 2021-03-25 20:13:11 +01:00
Ben Reedy c8a29f8423
Read credentials from env variable if not set
Allows for secrets to be provided to exporter outside of main
configuration. E.G. via Kubernetes Secrets.
Specified configuration files or flags take precedence over environment
variables.
2020-05-27 21:08:30 +10:00
wolmi d723fdfe38
Added support to auto discovery with SRV DNS registry (#60)
* Added support to auto discovery witih SRV

The yaml configuration has been modified to suport srv parameters.
Now the name is taken form the router identity to allow dynamic
discovery of devices based on SRV registry.

* Corrected format

* feat(collector): Added support to use custom DNS

* feat(collector): get default dns server from resolv.conf

* Remove getIdentity on the static config devices
2020-02-03 22:03:45 -05:00
Welby McRoberts 55ae663ce3 Custom API port (#62)
Adds ability to specify API Port, either via CLI or in config. If port is not provided, default is used, taking into account if TLS is enabled or not
2019-12-26 13:17:27 -05:00
devi1 f1f09b42bb DHCP Lease Collector (#50)
* DHCP Leases Collector

Add Information about DHCP Leases:
* Active MAC Address
* Active Address
* Hostname
* Status
* Expire time

* Modified resource collector

Add Boardname and RouterOS version metrics
2019-09-02 14:50:20 -04:00
Steve Brunton f6b4764691
updated README with new perm needed (#13) 2018-06-28 22:25:13 -04:00
Daniel Czerwonk 39e54be98d Added optical diagnostic metrics (#10) 2018-05-07 14:31:19 -04:00
Daniel Czerwonk d170b0a4d2 More features (#9)
* 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
2018-04-11 09:21:38 -04:00
Daniel Czerwonk f2866a3a2f News features and improvements (#8)
* 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
2018-03-20 21:28:10 -04:00
Steve Brunton 129e34290f more dev work (#1)
* of course we need badges

* kubernetes single device config example

* fixed deployment json
2017-09-16 22:38:01 -04:00
Steve Brunton 044419a16b updated README to signify WIP. 2017-09-04 22:54:04 -04:00
Steve Brunton ed916703c6 squash merge from dev branch 2017-09-04 22:52:14 -04:00
Steve Brunton 403b464aec adding in some files 2017-08-27 23:30:35 -04:00