Commit Graph

61 Commits

Author SHA1 Message Date
Steve Brunton
e1b06c6ebe
Merge pull request #146 from klaper/health_collector_fix
Health collector fix for RouterOS 7
2022-06-16 21:51:58 -04:00
klaper
30290e1f36
backward compatibility 2022-06-04 15:10:17 +02:00
klaper
c18ba74b8c
Health Collector fix 2022-06-04 08:16:22 +02:00
Vojtěch Káně
553465385b Quote DHCP hostname
Some DHCP clients register wild hostnames no matter what RFC 1035 says.
That causes errors as Prometheus accepts only valid UTF-8.

Fix #116
2022-03-22 12:21:08 +01:00
Steve Brunton
3cec4261c1
Merge pull request #132 from nshttpd/nshttpd/more-metrics
Nshttpd/more metrics
2022-02-21 13:15:09 -05:00
Steve Brunton
5d7c795597
Merge pull request #125 from debugloop/master
fix #117 by distinquishing prometheus value types
2022-02-21 13:03:02 -05:00
Steve Brunton
00cc1d36e5
Merge pull request #129 from digitalentity/de_rip_support
Naive support for routes per RIP protocol
2022-02-21 12:56:31 -05:00
Steve Brunton
29f7e8c132 from dns dependency upate 2022-02-21 12:37:44 -05:00
Vadim Pleshkov
fe53ec0d53 Do not panic on incorrect character in dhcp lease hostname 2022-02-14 14:54:41 +05:00
Konstantin Sharlaimov
0da4c106ce
Naive support for routes per RIP protocol
Our network uses RIP for internal routing. This feature allows monitoring routes distributed through RIP
2022-01-25 18:14:32 +01:00
Daniel Nägele
e74de4edf1 fix #117 by distinquishing prometheus value types 2021-10-25 14:10:09 +02:00
Steve Brunton
08497c66da updated some descriptions and log output 2021-08-09 21:58:33 -04:00
Steve Brunton
4bfa7adfef
Merge pull request #120 from hafkensite/master
Add capsman station metric
2021-08-09 21:57:10 -04:00
Jasper Hafkenscheid
b45e4dc46b
Add capsman station metric 2021-07-28 21:26:27 +02:00
Alex Price
9ca7e9215e add link-downs metric to interface collector
Signed-off-by: Alex Price <awprice@gmail.com>
2021-07-07 18:53:35 +10:00
Devon Mar
dfec8c9482 Fix insecureTLS 2021-05-19 21:39:43 -07:00
Valer Cara
c04b215784
Add tools/netwatch exporter 2021-04-13 11:57:32 +03:00
Steve Brunton
973b6dc379 fixed missing braces from some merge 2021-03-25 20:41:31 -04:00
Steve Brunton
8e7b67527a
Merge pull request #105 from oGi4i/feature/interface_type
Added more interface labels
2021-03-25 20:27:04 -04:00
Steve Brunton
b60ab4f8ea
Merge pull request #104 from oGi4i/feature/fix_firmware
Fixed firmware collector for multiple devices with same packages
2021-03-25 20:22:47 -04:00
Steve Brunton
81e30792fe
Merge pull request #102 from oGi4i/feature/dhcp_server
Added support for multiple dhcp servers
2021-03-25 20:10:54 -04:00
Bartosz "mastier" Woronicz
ee169a10ba add primary-band and ca-band labels in lte metrics 2021-03-25 20:13:19 +01:00
Bartosz "mastier" Woronicz
9621ce9654 add support for LTE interface 2021-03-25 20:13:11 +01: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
605780990f
Merge pull request #79 from siretart/wifi
wlansta: Record wifi signal strength
2021-03-22 22:38:24 -04:00
oGi4i
47f31f4f6f added actual mtu metric 2020-12-12 23:49:31 +03:00
oGi4i
05aaa41587 added running metric 2020-12-12 21:34:12 +03:00
oGi4i
525b8fc5f4 added more interface labels 2020-12-12 21:27:43 +03:00
oGi4i
25dc6b22ec fixed firmware collector for multiple devices with same packages 2020-12-08 21:31:12 +03:00
oGi4i
fa09ac2436 fixed panic on missing label 2020-12-08 20:39:03 +03:00
oGi4i
4c50274ec7 added support for multiple dhcp servers 2020-12-06 20:08:44 +03:00
Nicolas Lisoski
7f22da9226 Add cpu-temperature to health collector 2020-08-10 11:31:57 +02:00
Martin Milata
554b72fa88 Add connection tracking collector 2020-05-08 00:03:05 +02: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
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
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
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
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
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
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