Commit Graph

81 Commits

Author SHA1 Message Date
Leon Morten Richter
7d63fcba85 onyl fetch available ROS version once per hour 2023-05-30 11:07:12 +02:00
Leon Morten Richter
fb54356220 teach mktxp to check for updates 2023-05-28 14:11:12 +02:00
Arseniy Kuznetsov
985e976b82 bandwidth test default, fixes 2023-03-20 07:52:46 +01:00
Sergey Urbanovich
ca71399b96 Add mac_address label to all wlan/capsman metrics
`dhcp_name` is not sufficient to identify wireless clients. DHCP Host
Name Option (Code 12) is not required to be unique. As a result, it's
possible to have multiple metrics with exactly same labels. Adding
`mac_address` label to all wlan/capsman metrics allows to identify
the clients.

```
mktxp_wlan_clients_signal_strength{dhcp_name="xyz",routerboard_address="a.b.c.d",routerboard_name="foobar"} -63.0
mktxp_wlan_clients_signal_strength{dhcp_name="xyz",routerboard_address="a.b.c.d",routerboard_name="foobar"} -64.0
mktxp_wlan_clients_signal_strength{dhcp_name="xyz",routerboard_address="a.b.c.d",routerboard_name="foobar"} -65.0
```

vs.

```
mktxp_wlan_clients_signal_strength{dhcp_name="xyz",mac_address="11:22:33:44:55:AA",routerboard_address="a.b.c.d",routerboard_name="foobar"} -63.0
mktxp_wlan_clients_signal_strength{dhcp_name="xyz",mac_address="11:22:33:44:55:BB",routerboard_address="a.b.c.d",routerboard_name="foobar"} -64.0
mktxp_wlan_clients_signal_strength{dhcp_name="xyz",mac_address="11:22:33:44:55:CC",routerboard_address="a.b.c.d",routerboard_name="foobar"} -65.0
```
2023-03-14 21:01:17 -07:00
Arseniy Kuznetsov
fa515acd3a action key check 2023-02-14 21:20:42 +01:00
Arseniy Kuznetsov
9a381d028c connections stats collector / cmd output, remote dhcp resolver, fixes / optimizations 2023-02-04 20:48:51 +01:00
Arseniy Kuznetsov
01ded0f497 fixes/optimizations 2023-01-17 08:21:34 +01:00
Arseniy Kuznetsov
7b2e18b609 interface monitor optimisations/wifiwave2 support 2023-01-15 17:25:17 +01:00
Arseniy Kuznetsov
e27305e736 remote dhcp info resolution (wireless/capsman), more wifiwave2 support 2023-01-14 17:33:04 +01:00
Arseniy Kuznetsov
cbdaf51a95 initial wifiwave2 capsman support 2023-01-12 20:32:52 +01:00
Arseniy Kuznetsov
cefa3335c1 initial wifiwave2 capsman support 2023-01-12 20:30:02 +01:00
Arseniy Kuznetsov
208fc9e1eb custom config files directory 2023-01-04 16:29:50 +01:00
nioram
8592db09bc Merge branch 'main' of github.com:nioram/mktxp into main 2023-01-03 11:57:26 +00:00
nioram
af6006fe42 added power-consumption in healtg collector 2023-01-03 11:55:30 +00:00
Arseniy Kuznetsov
0159c47fb3 async router fetch, configurable timeouts 2023-01-01 10:30:09 +01:00
Arseniy Kuznetsov
660dd33369 simple queue, parallel router fetch as_completed , config autoupdate fixes 2022-12-30 21:00:13 +01:00
Leon Morten Richter
866751ad64 fetch routers in parallel (optionally) 2022-12-28 14:18:42 +01:00
0x4D616E75
68a2b692f7 add support for FreeBSD 2022-12-19 16:18:38 +01:00
Arseniy
235069f7d3 version change 2022-12-16 09:40:55 +01:00
Leon Morten Richter
f9313a0074 Mikrotik renamed the field signal_strength to signal when using wifiwave2. 2022-12-11 14:14:23 +01:00
Arseniy Kuznetsov
a93ec2939d Queue tree / Active Users collectors, fixes 2022-12-10 17:47:17 +01:00
Arseniy Kuznetsov
f5c43a9dd0 initial WifiWave2 support+installed packages collector 2022-11-20 14:50:42 +01:00
Arseniy Kuznetsov
9a30555e39 optional ipv6 firewall, disabled by default 2022-11-14 20:50:26 +01:00
Arseniy Kuznetsov
2953cf418a optional ipv6 firewall, disabled by default 2022-11-14 20:35:00 +01:00
Arseniy Kuznetsov
cc3fd26ae2 default ipv6 2022-11-14 19:52:55 +01:00
Leon Morten Richter
4888597c96 fix correct filter path for IPv6 firewall 2022-11-13 14:48:45 +01:00
Leon Morten Richter
2122c17ce3 fix typo 2022-11-13 14:44:07 +01:00
Leon Morten Richter
70e5a64469 add IPv6 reachable addresses 2022-11-13 13:36:58 +01:00
Leon Morten Richter
0a500f12c4 add IPv6 firewall records 2022-11-13 12:17:07 +01:00
Arseniy Kuznetsov
90f932573b bug fixes 2022-11-07 07:50:00 +01:00
Leon Morten Richter
3616cff8a4 monkey match the upstream API wrapper 2022-10-31 14:44:41 +01:00
Arseniy Kuznetsov
349037ffd0 bug fixes 2022-10-23 09:39:19 +01:00
Arseniy Kuznetsov
e7fc0c5d0c Merge pull request #44 from M0r13n/add-capsman-interfaces
adds capsman interface datasource
2022-10-23 03:33:50 -05:00
Leon Morten Richter
d813138bd8 adds capsman interface datasource 2022-10-21 14:08:35 +02:00
Leon Morten Richter
6ea940d951 use dict.get() to prevent a KeyError when the key "mac_address" does not exist 2022-10-21 13:29:36 +02:00
Arseniy Kuznetsov
a902c15b6f bug fixes 2022-10-02 12:34:54 +01:00
Arseniy Kuznetsov
76aa9acd9f bug fixes 2022-10-02 11:24:42 +01:00
Leon Morten Richter
99e05f1f70 replace None values with default values to prevent crashes 2022-10-01 14:51:45 +02:00
Leon Morten Richter
ef5ad1eb33 adds optional public IP address metric 2022-09-18 14:09:47 +02:00
Arseniy Kuznetsov
dc3f93896d metric_labels memoty leak fix, per #34 2022-09-17 15:59:18 +01:00
Arseniy Kuznetsov
ad3f4b2f5d adjusted dhcp metric name, for compatibiity with previous grafana dashboard version 2022-09-17 11:10:47 +01:00
Arseniy Kuznetsov
307e362334 expires_after cardinality, bug fixes 2022-09-17 10:41:45 +01:00
Arseniy Kuznetsov
d0456eab19 expires_after cardinality, bug fixes 2022-09-17 09:43:46 +01:00
Arseniy Kuznetsov
f230c24c59 Merge pull request #31 from twiebe/add_linkdowns
Add link_downs metric to interface
2022-08-29 10:31:31 +01:00
Leon Morten Richter
6b142edec4 prevent dpulicate metrics for health collector 2022-08-20 13:32:45 +02:00
Leon Morten Richter
64f7d21032 adds connections datasource/collector 2022-08-20 12:51:03 +02:00
Leon Morten Richter
e1729105a9 adapt health datasource to RouterOS v7 2022-07-31 14:15:44 +02:00
Thomas Wiebe
aed7b8377a Add link_downs to interface metrics
Link Downs can be useful to debug drops in established links,
even if they are only short.
2022-06-18 01:17:45 +02:00
Leon Morten Richter
487b48ecbc Removes when keyword argument from call to naturaldelta 2022-03-13 13:54:21 +01:00
Arseniy Kuznetsov
a515d51bbc Merge pull request #16 from mikalstill/add-sfp-temperature
Add monitoring of SFP temperatures.
2022-01-09 17:12:55 +01:00