Ivan Pavlina
|
aa8f41f6fe
|
Merge branch 'master' into pr/1
|
2020-04-07 10:54:19 +02:00 |
|
tomaae
|
94eed1fba3
|
Moved interface and available fields to ensure_val #24
|
2020-04-07 04:01:33 +02:00 |
|
tomaae
|
052d532fe0
|
Preliminary support for host tracking #24
|
2020-04-07 03:55:38 +02:00 |
|
tomaae
|
03d1162e7d
|
remove duplicate NAT rules to prevent crash #20
|
2020-04-06 22:50:01 +02:00 |
|
Ivan Pavlina
|
2c577116f9
|
Removed unnecessary logging
|
2020-04-05 23:23:07 +02:00 |
|
Ivan Pavlina
|
03e70e521c
|
Accounting initialize fix
|
2020-04-05 18:32:48 +02:00 |
|
Ivan Pavlina
|
887e645553
|
Fix dynamic build of local tx/rx sensors.
|
2020-04-05 18:29:51 +02:00 |
|
Ivan Pavlina
|
d5ddbc7772
|
Allow for dynamic check of local_traffic enabled in Mikrotik.
|
2020-04-05 18:08:34 +02:00 |
|
Ivan Pavlina
|
1c0b3018ed
|
Fix
|
2020-04-05 16:04:17 +02:00 |
|
Ivan Pavlina
|
a1eee6f698
|
Initialize wan/lan accounting data on startup
|
2020-04-05 16:00:30 +02:00 |
|
Ivan Pavlina
|
f9a458bbfb
|
Add ability to automatically determine if the LAN accounting sensor should be created depending on account-local-traffic in Mikrotik API
|
2020-04-05 15:03:17 +02:00 |
|
tomaae
|
5a845ba07b
|
PEP8
|
2020-04-05 00:38:29 +02:00 |
|
tomaae
|
f489259908
|
changed default for return_list in api.path
|
2020-04-04 21:43:19 +02:00 |
|
Ivan Pavlina
|
30c11db741
|
Add ability to track accounting data from Mikrotik.
|
2020-04-04 19:42:05 +02:00 |
|
Ivan Pavlina
|
b58b1aa8a3
|
Typo fix
|
2020-04-04 18:01:26 +02:00 |
|
Ivan Pavlina
|
1a46da5aae
|
Add ability to return list results of API call instead of generator. On generator return do not call iterate over object, removes redundant calls to API. Update calls to api.path with new input param. Fix logging in helper object.
|
2020-04-04 17:51:35 +02:00 |
|
Tomaae
|
e4b7551b9c
|
Merge pull request #16 from ivanpavlina/dev
Add support for simple queues.
|
2020-03-25 17:22:12 +01:00 |
|
Ivan Pavlina
|
63210ec62b
|
Fix - .id was missing from retrieved params
|
2020-03-25 13:28:52 +01:00 |
|
Ivan Pavlina
|
bcf86dc7a3
|
Add support for simple queues. Transfer traffic_type and traffic_div calculation to separate method
|
2020-03-25 13:18:49 +01:00 |
|
Andrey Khrolenok
|
7ccaf0d9c3
|
PM8 code optimization
|
2020-03-21 19:02:28 +03:00 |
|
Andrey Khrolenok
|
f0b4c5e723
|
Fix some minor errors and add russian translation.
|
2020-03-21 18:46:54 +03:00 |
|
tomaae
|
8ec4f9ade5
|
changed string formatting according to development guidelines
|
2020-03-16 19:02:54 +01:00 |
|
tomaae
|
bd82612cb8
|
reformatted code using black
|
2020-03-16 18:35:51 +01:00 |
|
tomaae
|
25e90702d2
|
added more options to measurement for traffic #10
|
2020-03-16 18:20:21 +01:00 |
|
tomaae
|
e418c20252
|
reformatted code using black
|
2020-03-16 04:51:41 +01:00 |
|
tomaae
|
b6e5c10540
|
added option to select units of measurement for traffic #10
|
2020-03-16 01:32:13 +01:00 |
|
tomaae
|
d9dd5330ee
|
missing interface workaround #11
|
2020-03-11 23:39:43 +01:00 |
|
tomaae
|
f111131a9b
|
changed traffic sensors to kbps #10
|
2020-03-11 23:25:51 +01:00 |
|
tomaae
|
2a9585a4b3
|
changed defaults for NAT protocol and dst-port
|
2019-12-21 14:58:41 +01:00 |
|
tomaae
|
3ee017e11c
|
fixed arp debug message
|
2019-12-21 08:21:17 +01:00 |
|
tomaae
|
9be5a15c54
|
removed redundant returns
|
2019-12-12 23:14:14 +01:00 |
|
tomaae
|
ec82b33cb9
|
fixes
|
2019-12-12 23:01:57 +01:00 |
|
Tomaae
|
7a58bc6a70
|
added docstring and function hints to helper
renamed from_list to parse_api
|
2019-12-12 13:37:09 +01:00 |
|
Tomaae
|
6b2f9ae4e2
|
fixes and code cleanup
|
2019-12-12 13:02:11 +01:00 |
|
Tomaae
|
e439a4062e
|
updated get_nat
|
2019-12-12 09:06:15 +01:00 |
|
Tomaae
|
25a30b4dc5
|
removed unnecessary cycle from system resources
|
2019-12-12 08:37:28 +01:00 |
|
Tomaae
|
6d394a06ef
|
controller refactoring
|
2019-12-11 15:34:35 +01:00 |
|
Tomaae
|
057e6f91b7
|
added support for remapping keys for existing data structure
|
2019-12-11 09:13:35 +01:00 |
|
Tomaae
|
dfb2abd1af
|
added option to map default to another value in current data entry
|
2019-12-11 08:40:40 +01:00 |
|
tomaae
|
477dd630d8
|
started refactoring controller
added debug messages
|
2019-12-10 22:32:59 +01:00 |
|
tomaae
|
c49e81a208
|
code cleanup
fixed typo in get_firmare_update
|
2019-12-09 00:31:43 +01:00 |
|
tomaae
|
6ff53266f0
|
added error message when script without a name is found
|
2019-12-09 00:17:49 +01:00 |
|
tomaae
|
58ef81d840
|
fixed unpack error when mikrotik is rebooted
|
2019-12-08 23:03:05 +01:00 |
|
tomaae
|
6db0079c0c
|
prevent error when no data is received from API (reboot...etc)
|
2019-12-08 22:49:36 +01:00 |
|
tomaae
|
270c7f8274
|
verify if status entry in firmware update requests exists (is missing on first query after firmware upgrade, possible routeros bug)
|
2019-12-08 22:36:10 +01:00 |
|
tomaae
|
23b3e17e97
|
skip scripts without a name #3
|
2019-12-08 19:19:26 +01:00 |
|
tomaae
|
f6bcfcb528
|
added sensors for rx/tx traffic per interface
|
2019-12-08 11:20:02 +01:00 |
|
tomaae
|
8f8817a1f7
|
crosscheck NAT .id in case of mikrotik reboot
|
2019-12-07 21:18:27 +01:00 |
|
tomaae
|
d991d14a35
|
entity refactoring
|
2019-12-06 01:22:34 +01:00 |
|
tomaae
|
732060e4fe
|
get_arp refactoring
|
2019-12-05 22:29:25 +01:00 |
|