tomaae
|
966bdf2f57
|
black formatting
|
2020-12-02 15:38:17 +01:00 |
|
tomaae
|
41f9ad97c9
|
Device tracker and accounting sensor uses default_name and does not add manufacturer and model data #57
|
2020-12-02 14:57:30 +01:00 |
|
tomaae
|
a29cce0d3d
|
Added sensors for environment variables #58
|
2020-12-02 13:56:50 +01:00 |
|
tomaae
|
1e109f3dc6
|
Added uptime sensor #64
|
2020-12-02 10:52:34 +01:00 |
|
tomaae
|
a8606411d9
|
Added traffic sensors to ppp and wireless interfaces #48
|
2020-06-26 16:35:40 +02:00 |
|
tomaae
|
9eff454269
|
Added temperature sensor #47
|
2020-05-27 20:04:09 +02:00 |
|
tomaae
|
ce77fb8085
|
fixed formatting in sensors
|
2020-04-20 08:00:00 +02:00 |
|
tomaae
|
9b9d54c3c4
|
removed mikrotik name from accounting sensor names
|
2020-04-12 22:04:51 +02:00 |
|
tomaae
|
70cdb93eb3
|
reformatted using black
|
2020-04-11 05:45:36 +02:00 |
|
tomaae
|
018ed3cf9c
|
removed integration name prefix from hosts and their related sensors #24
|
2020-04-10 12:46:07 +02:00 |
|
tomaae
|
6a8103ee47
|
added connections to accounting sensor #17
|
2020-04-10 12:26:48 +02:00 |
|
tomaae
|
8bfa30b3a1
|
fixed removal of wrong attribute #17
|
2020-04-10 12:25:37 +02:00 |
|
tomaae
|
07690aad9f
|
separated hosts and accounting to host per group and all groups contain mikrotik name #24
|
2020-04-10 09:22:28 +02:00 |
|
Ivan Pavlina
|
f141c6915b
|
Fix icons for accounting sensors, update accounting docs
|
2020-04-08 16:01:27 +02:00 |
|
Ivan Pavlina
|
6978652cce
|
Fix for static ARP entries that aren't present in DHCP, could use a check on that.
Multiple fixes for accounting calculation and availability check.
|
2020-04-08 15:44:28 +02:00 |
|
Ivan Pavlina
|
b8d311978b
|
Changed accounting sensor attribute
|
2020-04-08 14:16:19 +02:00 |
|
Ivan Pavlina
|
e8d2efe956
|
Fix for sensor type attr
|
2020-04-08 14:14:09 +02:00 |
|
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 |
|