Ivan Pavlina
|
32b93cc8cc
|
Removed redundant get_dhcp call from update method. Removed unnecessary calls to Mikrotik API for accounting hosts build, reusing new hosts dict. Removed unnecessary variables from mikrotik_controller.py. Reused new dhcp-networks dict. Simplified accounting throughput calculation. Added accounting 'available' and 'local_enabled' parameters for each host. Implemented new parameters on sensor availability.
|
2020-04-08 13:41:03 +02:00 |
|
Ivan Pavlina
|
cd9e30682c
|
Add comment as accounting sensor attribute
|
2020-04-07 20:31:16 +02:00 |
|
Ivan Pavlina
|
39c31cb84a
|
Fixed grouping of accounting entities
|
2020-04-07 14:19:22 +02:00 |
|
Ivan Pavlina
|
aee33b8c13
|
Removed building hosts from ARP table for accounting devices - will use only DHCP leases.
Removed unnecessary code, put all accounting sensors in the same group, set accounting sensors key to mac-address
|
2020-04-07 13:33:48 +02:00 |
|
Ivan Pavlina
|
aa8f41f6fe
|
Merge branch 'master' into pr/1
|
2020-04-07 10:54:19 +02:00 |
|
Ivan Pavlina
|
2c577116f9
|
Removed unnecessary logging
|
2020-04-05 23:23:07 +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
|
1ec4e13eb8
|
added entity update debugs #18
|
2020-04-04 19:46:40 +02:00 |
|
Ivan Pavlina
|
30c11db741
|
Add ability to track accounting data from Mikrotik.
|
2020-04-04 19:42:05 +02:00 |
|
Andrey Khrolenok
|
7ccaf0d9c3
|
PM8 code optimization
|
2020-03-21 19:02:28 +03:00 |
|
tomaae
|
8ec4f9ade5
|
changed string formatting according to development guidelines
|
2020-03-16 19:02:54 +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
|
f111131a9b
|
changed traffic sensors to kbps #10
|
2020-03-11 23:25:51 +01:00 |
|
tomaae
|
9be5a15c54
|
removed redundant returns
|
2019-12-12 23:14:14 +01:00 |
|
Tomaae
|
6b2f9ae4e2
|
fixes and code cleanup
|
2019-12-12 13:02:11 +01:00 |
|
tomaae
|
81f25765f7
|
improved debug messages
fixed TrafficSensor unique id
|
2019-12-10 22:29:35 +01:00 |
|
Tomaae
|
f1a239f118
|
removed extra cycle in sensor update_items
|
2019-12-09 10:07:36 +01:00 |
|
tomaae
|
06727236da
|
correctly report all entities as unavailable in UI when mikrotik is offline
|
2019-12-08 22:42:54 +01:00 |
|
tomaae
|
9487793a4d
|
removed "bps" from RX/TX label
|
2019-12-08 11:27:25 +01:00 |
|
tomaae
|
f6bcfcb528
|
added sensors for rx/tx traffic per interface
|
2019-12-08 11:20:02 +01:00 |
|
tomaae
|
d991d14a35
|
entity refactoring
|
2019-12-06 01:22:34 +01:00 |
|
tomaae
|
b851085f48
|
removed trailing whitespace from empty lines
|
2019-12-05 20:45:04 +01:00 |
|
tomaae
|
ecee4043e3
|
converted attributes to constants
|
2019-12-04 15:48:53 +01:00 |
|
tomaae
|
3289c57b7a
|
show mikrotik model name on integration screen
append device name in front of entities
|
2019-12-03 18:28:22 +01:00 |
|
tomaae
|
46900a967b
|
added system sensors
|
2019-12-03 03:09:30 +01:00 |
|