Commit Graph

74 Commits

Author SHA1 Message Date
Steve Brunton
88586cc1cc
Merge pull request #87 from martydingo/docker-compose
Docker compose
2021-03-22 22:58:14 -04:00
Steve Brunton
ac29090723
Merge pull request #95 from lnicolas83/add_cpu-temperature
Add cpu-temperature to health collector
2021-03-22 22:51:29 -04:00
Steve Brunton
80008f80fa
Merge pull request #90 from breed808/env
Read credentials from env variable if not set
2021-03-22 22:42:00 -04:00
Steve Brunton
605780990f
Merge pull request #79 from siretart/wifi
wlansta: Record wifi signal strength
2021-03-22 22:38:24 -04:00
Steve Brunton
0b8aa8515c
Merge pull request #75 from mmilata/conntrack-collector
Add connection tracking collector
2021-03-22 22:33:30 -04:00
Nicolas Lisoski
7f22da9226 Add cpu-temperature to health collector 2020-08-10 11:31:57 +02: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
Martin Milata
554b72fa88 Add connection tracking collector 2020-05-08 00:03:05 +02:00
martydingo
df35747553
Create .env 2020-04-18 15:03:07 +01:00
martydingo
d64c0ebc44
Create docker-compose.yml 2020-04-18 15:02:15 +01:00
w1kl4s
d3285ba301
Add 10G rate for interface (#73) 2020-04-07 23:13:25 -04:00
Steve Brunton
72ec3c2ce0
collect firmware version (#82)
collect packages/firmware versions and export them as labels for gauge under :

mikrotik_system_package

* updated versions of dependent libs
* fetch firmware version as gauge
* fixed the things that needed to be fixed
2020-04-07 23:06:38 -04:00
Reinhard Tartler
aa5ef26ed3 wlansta: Record wifi signal strength
signal-strength-ch0 is only accurate for devices with one antenna. Many
mikrotik devices have two, or even three channels, and just looking at ch0 is
not helpful in those cases.

Instead, look at the property 'signal-strength'. Annoyingly, it is does come as
a string with the negotiated bandwidth attached (e.g.,
signal-strength=-66dBm@HT20-7) which needs to be parsed out.
2020-03-30 06:55:15 -04:00
Ben Reedy
3b33400d24
Add health collector (#70)
* Add health collector for voltage & temperature
* Run gofmt
* Add help text to health collector
2020-02-10 13:55:10 -05:00
Steve Brunton
8578c271bb
fixed typo (#72)
typo fixed
2020-02-10 13:46:48 -05: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
Steve Brunton
75b5f8be36
added DHCPL collection to configs and collectors (#69) 2020-02-03 22:00:00 -05:00
Daniel Hodges
c00607abe0
Fix routes collector to be compatible with latest RouterOS release (#66)
* Fix routes collector to be compatible with latest RouterOS release

Tested on RouterOS 6.46.1

* remove ipv6 pool collector
2020-02-03 21:33:02 -05:00
Welby McRoberts
5cea9840a7 w60g Interface collector (#63)
Allow the collection of w60g interface statistics.
2019-12-26 13:20:24 -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
Jesus Rafael Carrillo
9ceb56fdbf Fix validate that string is not empty before strconv.ParseFloat (#59)
Thanks. I could have sworn I went through already and done this at one point in time, but I guess not.
2019-12-02 22:01:36 -05:00
Steve Brunton
5cccba9e17
switch to go modules (#58)
setup for go modules and remove vendor directory.
2019-11-16 00:05:31 -05:00
Steve Brunton
60bb04d0e7
dialers with timeouts (#57)
* added Dials with timeouts to deal with dead devices
* bump for version release
2019-11-11 17:13:46 -05:00
Welby McRoberts
9fc2841a61 PoE collector (#54)
Thanks for the PR.

* PoE collector
* Correcting mistake in comment for WithPOE function
2019-10-24 21:12:19 -04:00
Gábor Fási
c757fc7216 Create ipsec collector (#51) 2019-10-24 21:11:05 -04:00
Daniel Ricart
0250e6c58e fixed typo in start.sh permissions assignment (#53)
Found a typo in the `start.sh` file that prevented setting the correct execution permissions.
2019-10-16 12:07:35 -04:00
Steve Brunton
9bb5a0cee6
various issues fixing (#49)
* arm64 Dockerfile and Makefile update
* #46 version flag
2019-09-02 14:51:14 -04: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
0cf5d19883 [ci skip] bump next devel version 2019-08-20 22:26:18 -04:00
Steve Brunton
bfba6be608 version bump 2019-08-20 22:12:15 -04:00
Steve Brunton
beb09ce540
[ci skip] monitor data for ethernet ports (#45)
* fix import name conflict
* adding in ethernet monitor information via prometheus gauge
* set CGO_ENABLED env var on build
2019-08-20 22:11:03 -04:00
Steve Brunton
ea9cc69a3a [ci skip] bump to next devel version 2019-07-21 18:14:33 -04:00
Steve Brunton
fc9c04efec
use debian instead of alpine
Fix for #40 

* use debian instead of alpine
* bump version to real release
2019-07-21 18:10:43 -04:00
Steve Brunton
f800e6cf2f [ci skip] bump next devel version 2019-07-05 22:22:48 -04:00
Steve Brunton
530f695305 bump to relase 1.0.8 release for Docker fix 2019-07-05 22:20:11 -04:00
Charlie Livingston
543ff20390 Fix docker build to make runnable executable (#39) 2019-07-05 22:17:33 -04:00
Steve Brunton
4de6b2de0c [ci skip] bump to devel VERSION 2019-07-02 20:51:22 -04:00
Steve Brunton
8e1ece22dd
#36 attempt to fix api login auth issue (#38)
* #36 attempt to fix api login auth issue
* update release version number
2019-07-02 20:46:19 -04:00
Steve Brunton
dcaef1a51e [ci skip] bump version to next DEVEL 2019-02-21 22:48:06 -05:00
Steve Brunton
f0ebe4bd0a Merge branch 'nshttpd/uptime-panic-fix' 2019-02-21 22:42:43 -05:00
Steve Brunton
0563415d9f edit and tickle to build 2019-02-21 22:42:14 -05:00
Steve Brunton
81e258fec1
fix uptime regex and lazy coding for #34 (#35)
* fix uptime regex and lazy coding for #34
* [ci skip] version bump for merge
2019-02-21 22:39:25 -05:00
Steve Brunton
e074600ccc [ci skip] version bump for merge 2019-02-21 22:38:41 -05:00
Steve Brunton
67c0848f6a fix uptime regex and lazy coding for #34 2019-02-21 22:34:39 -05:00
Steve Brunton
9f22fc0232 [ci skip] bump to devel version 2019-01-02 16:26:20 -05:00
Steve Brunton
aee1517c10
uptime metric reporting (#32) 2019-01-02 16:16:09 -05:00
Steve Brunton
d4288aed19 [ci skip] bump to DEVEL version 2018-12-16 23:32:36 -05:00
Steve Brunton
83cbed45d8
CircleCI build to DockerHub too
Also as part of the CircleCI build create a container and push to docker hub.
2018-12-16 23:28:05 -05:00
Nacef LABIDI
8d1c2e7700 Fix #7 Log formatting (#27)
Thanks for this.
2018-12-16 21:53:29 -05:00
Steve Brunton
3d56bb040c [ci skip] devel version bump 2018-12-16 21:49:54 -05:00