Commit Graph

62 Commits

Author SHA1 Message Date
Christian Schoch
d699476d8d exteded debug info 2025-12-25 22:40:29 +01:00
Christian Schoch
17e8fd48af Added 5530 capabilities 2025-12-24 23:49:18 +01:00
sberk42
f773cc9665 workaround for X_AVM_DE_xxx64 with type string 2025-09-04 00:52:31 +02:00
sberk42
c03af62dc9 fix not allowed chars in labels 2025-01-19 21:41:47 +01:00
sberk42
5622eba701 fixed wrong hostname set 2023-10-15 14:20:10 +02:00
sberk42
c1d98f0d1f fixed wrong resolve 2023-10-15 09:47:43 +02:00
sberk42
9c5d1cd8be Merge branch 'master' into v2-authentication 2023-10-15 09:45:13 +02:00
Boris Petersen
af60ed0456 Cleanup and updates
* cleaned up json files
* updated modules
* replaced deprecated ioutil
* adjusted error message to be lowercased

Signed-off-by: Boris Petersen <bp@boris-petersen.de>
2023-10-14 16:18:38 +02:00
Boris Petersen
45c9c7278d Introduce v2 API authentication
the v2 authentication uses pbkdf2 rather than plain md5.
I have introduced a switch to use the new authentication that defaults
to v1/md5.
I have also introduced the internal resolution and usage of the ipv4
adress the fritzbox is using because for me on me 6691 neither using the
hostname (fritz.box) nor the ipv6 address gave me a valid SID. I believe
that's a bug by AVM.

Signed-off-by: Boris Petersen <bp@boris-petersen.de>
2023-10-14 16:10:37 +02:00
sberk42
0fbafb5a46 replace healthcheck causing problems with go.mod 2023-01-14 08:52:02 +01:00
sberk42
adfc20283e next try to fix lua issue after fritzbox restart 2022-12-12 19:19:16 +01:00
sberk42
7c0048a44f cleanup \n 2022-01-09 16:09:02 +01:00
sberk42
e7427e8ac5 rebuild after merge 2022-01-09 16:03:09 +01:00
sberk42
61030f7278 Merge branch 'master' into health-checks 2022-01-09 15:52:12 +01:00
sberk42
aa0e20cb71 Merge branch 'master' into verfiy-tls 2022-01-09 15:49:28 +01:00
Christian Fritz
8976ed2c72 Uses logrus instead printf for logging and fixes creating error messages. 2021-04-17 00:30:35 +02:00
Christian Fritz
91bbea2345 Adds readiness and liveness endpoints. 2021-04-17 00:09:50 +02:00
Christian Fritz
282fbbbd0e Add additional flag to control the verification of tls connections. 2021-04-17 00:04:19 +02:00
Christian Fritz
d9031e6c39 Adds go.mod file to use go modules while building. 2021-04-16 23:52:06 +02:00
sberk42
25f17b7dd6 fix lua not collected after fritzbox restart 2021-03-27 21:16:20 +01:00
sberk42
315571adf5 introduced global duplicate cache 2020-12-19 11:01:32 +01:00
sberk42
717ea05749 fixed collect error due to duplicate labels 2020-12-19 08:41:56 +01:00
sberk42
a8da0da336 cleaned up golint issues 2020-12-12 18:55:02 +01:00
sberk42
129f5aff2e fixed fixedLabels for normal metrics added traffic as gauge 2020-12-11 18:04:15 +01:00
sberk42
33fc59a3c8 added support for caching results between collections 2020-12-04 23:19:01 +01:00
sberk42
320ad2d613 moved fixedLabels to promDesc 2020-12-04 16:49:36 +01:00
sberk42
bf7d020b74 lua metric collection now working 2020-12-02 19:23:54 +01:00
sberk42
fd481630fb collected lua call, started on lua metrics, added testLua call 2020-11-29 09:27:41 +01:00
sberk42
c79be399bc added support for lan/wan status 2020-11-28 21:10:11 +01:00
sberk42
ef5d6b1f3b added support to retrieve usb storage details 2020-11-28 17:19:03 +01:00
sberk42
bc6f8cd35c support for values from ecoStat page 2020-11-28 14:44:57 +01:00
sberk42
81979f3749 first test for lua calls 2020-11-26 18:27:15 +01:00
sberk42
abd95b5c27 added modelname metric and limited lowercase labels to hostname and macaddress 2020-11-11 16:51:01 +01:00
sberk42
44aa1a7dc9 support to collect indexed metrics 2020-08-27 22:59:08 +02:00
sberk42
2ff35cbc2d added support for additional labels 2020-08-27 22:15:55 +02:00
sberk42
fa9c9084e1 partial support for calling metrics with action argument 2020-08-27 19:49:25 +02:00
sberk42
b8fdbf5f87 also report argument name 2020-08-21 20:20:22 +02:00
sberk42
253eaa47ba added support for listing not called actions with parameters 2020-08-20 07:09:42 +02:00
sberk42
5651b858f8 Revert "switched back to old prometheus client, since new does not seem to report gateway metrics"
This reverts commit 046330f5c4.
2020-07-29 19:07:03 +02:00
sberk42
046330f5c4 switched back to old prometheus client, since new does not seem to report gateway metrics 2020-07-29 18:26:20 +02:00
Andreas Schmid
07def07c4b fix compile error with newer prometheus/client_golang versions
removed all http related features in v1.0.0, see
https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md#100--2019-06-15

Signed-off-by: Andreas Schmid <service@aaschmid.de>
2020-07-19 21:32:06 +02:00
sberk42
72367da04f made action reuse work without ordered metrics 2020-07-05 10:56:00 +02:00
sberk42
d43191f0a5 added support to store metrics to json and sorted output 2020-07-05 10:56:00 +02:00
sberk42
f8c042eb28 removed vendor stuff 2020-06-20 15:00:26 +02:00
sberk42
0e0d9f0617 multiple bug fixes, replaced digest auth coding 2020-06-20 08:13:17 +02:00
sberk42
0bd0091729 switched default protocol back to http since https often fails with EOF 2020-06-13 21:56:48 +02:00
sberk42
f0512c3ebc added support for loading metrics from JSON file 2020-06-13 21:55:43 +02:00
sberk42
9298988287 initial version, with environment variables and https support 2020-06-11 13:43:29 +02:00
Hannes Rosenögger
effd5e9515 first implementation of tr064 support
This implements support for querying the TR064 API of the fritz box.
To make that possible digest authorization has been added.
An example usage of the new api are the total wlan connections for
interface 1.
2017-12-26 22:55:08 +01:00
Juergen Hoetzel
e2c6843a81 Report ListenAndServe errors 2017-04-23 12:37:01 +02:00