If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:libwebkpi.so
BoxMatrix >> Shell-Commands >> libwebkpi.so | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Command: | libwebkpi.so - type Link, Lib | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Shared-Libraries - Origin: AVM | ||||||
Path: | Release: /lib Lab+Rel: /lib | ||||||
Properties: | Size: 13.5k - 21.8k, Link - Firmware: 7.39 - 8.00 | ||||||
Function: | KPI collector for system parts which use HTTP / HTTPS |
Goto: Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
libwebkpi.so is a KPI collector for system parts which use HTTP / HTTPS.
It serves me_webkpi_($num).ctl to receive KPI from the sensor library libwebkpiclient.so.
libwebkpi.so provides 3 groups of functions:
webkpi_sender_*
which is only used by libwebkpiclient.sowebkpi_receiver_*
which is only used by libtr069.soWEBKPI_IPC_*
andwebkpi_ipc_*
which are only used library internal
The sender
and receiver
both support is_monitored_host
filtering, to limit data to a list of hosts.
So far these hosts are monitored:
- download.avm.de - for the AVM download services
- myfritz.net - for the DynDNS and remote HTTPS services
- api.avm.de - for the AVM online services
Monitored AVM API services currently cover:
- Weather-Service - for FRITZ!Fon home screen
- Speech-Service - for avmspeechd
- Relay-Service - for cloudmsgd
Apparently AVM only monitors the performance of their own services.
libwebkpi.so is only used by the ctlmgr plugin libtr069.so, not as an ISP service but for the AVM ARGO service.
ISPs are not interested in the performance of AVM services.
The IPC
functions in libwebkpi.so are likely used for Inter-CPU collection of web KPI since me_webkpi_($num).ctl
is only accessible from the local filesystem.
They maintain the NW_IPC_EVT_WEBKPI event in the AVMIPC-Datastore, likely with attached JSON data.
Network IPC research is not finished yet, and may also be part of Mesh IPC communication.
This reseach is based on the 7590 7.39 r99710 Firmware, which does not contain a further user of NW_IPC_EVT_WEBKPI.
Source
The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:
$ strings /lib/libwebkpi.so | grep -e '\.c$' -e '\.cpp$' ar7/libwebkpi/webkpi.c ar7/libwebkpi/webkpi_calc.c build/grx5/ar7/libwebkpi/webkpi_ipc.c
Dependencies
Daily updated index of all dependencies of this library. Last update: 2024-11-17 07:59 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Depends on | lib | ld.so | 11 | 7.39 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | libavmcsock.so | 31 | 7.39 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libc.so | 31 | 7.39 - 8.00 | Standard C library | Linux |
Depends on | lib | libdl.so | 5 | 7.39 - 8.00 | Dynamic linking library | Linux |
Depends on | lib | libm.so | 5 | 7.39 - 8.00 | C math library | Linux |
Depends on | lib | libpthread.so | 5 | 7.39 - 8.00 | POSIX threading library | Linux |
Depends on | lib | librt.so | 5 | 7.39 - 8.00 | POSIX realtime extensions library | Linux |
Depends on | lib | libsvctl.so | 31 | 7.39 - 8.00 | supervisor notification library | AVM |
Depends on | lib | libyajl.so | 31 | 7.39 - 8.00 | Event-driven JSON parser | Linux |
Depends on | lib | libz.so | 31 | 7.39 - 8.00 | Zlib compressor / decompressor | Linux |
Required by | lib | libtr069.so | 31 | 7.39 - 8.00 | ctlmgr plugin library for TR-069 configuration | AVM |
11 dependencies for this library |
Model-Matrix
Daily updated index of the presence, path and size of this library for each model. Last update: 2024-11-17 06:06 GMT.
Showing all models using this library. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 4040 | 7.39 - 8.00 | /lib | 13.7k - 13.8k, Link |
FRITZ!Box 4050 | 7.58 - 7.90 | /lib | 13.7k, Link |
FRITZ!Box 4060 | 7.39 - 7.90 | /lib | 13.7k, Link |
FRITZ!Box 5530 Fiber (main) | 7.39 - 8.00 | /lib | 14.9k - 15.0k, Link |
FRITZ!Box 5590 Fiber (main) | 7.39 - 8.00 | /lib | 13.7k, Link |
FRITZ!Box 5690 Pro (main) | 7.62 - 7.90 | /lib | 13.7k, Link |
FRITZ!Box 6490 Cable (atom) | 7.39 - 7.51 | /lib | 13.5k, Link |
FRITZ!Box 6590 Cable (atom) | 7.39 - 7.51 | /lib | 13.5k, Link |
FRITZ!Box 6591 Cable (atom) | 7.39 - 8.00 | /lib | 17.7k - 17.8k, Link |
FRITZ!Box 6660 Cable (atom) | 7.39 - 8.00 | /lib | 17.7k - 17.8k, Link |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /lib | 17.9k - 21.8k, Link |
FRITZ!Box 6690 Cable (atom) | 7.39 - 7.90 | /lib | 17.7k - 21.8k, Link |
FRITZ!Box 6820 LTE v1 (main) | 7.51 | /lib | 15.0k, Link |
FRITZ!Box 6820 LTE v2 (main) | 7.51 | /lib | 15.0k, Link |
FRITZ!Box 6820 LTE v3 (main) | 7.51 - 7.57 | /lib | 15.0k - 15.1k, Link |
FRITZ!Box 6850 LTE | 7.39 - 7.90 | /lib | 13.7k - 13.8k, Link |
FRITZ!Box 6850 5G | 7.39 - 7.90 | /lib | 13.7k - 13.8k, Link |
FRITZ!Box 6890 LTE (main) | 7.39 - 7.57 | /lib | 14.9k - 15.0k, Link |
FRITZ!Box 6890 LTE v1 (main) | 7.39 - 7.57 | /lib | 14.9k - 15.0k, Link |
FRITZ!Box 6890 LTE v2 (main) | 7.39 - 7.57 | /lib | 14.9k - 15.0k, Link |
FRITZ!Box 7490 (main) | 7.51 | /lib | 15.0k, Link |
FRITZ!Box 7510 | 7.39 - 8.00 | /lib | 13.7k, Link |
FRITZ!Box 7520 | 7.39 - 8.00 | /lib | 13.7k - 13.8k, Link |
FRITZ!Box 7520 v2 (main) | 7.39 - 8.00 | /lib | 13.7k - 13.8k, Link |
FRITZ!Box 7530 | 7.39 - 8.00 | /lib | 13.7k - 13.8k, Link |
FRITZ!Box 7530 AX | 7.39 - 8.00 | /lib | 13.7k - 13.9k, Link |
FRITZ!Box 7583 (main) | 7.50 - 7.59 | /lib | 14.9k - 15.0k, Link |
FRITZ!Box 7583 VDSL (main) | 7.59 - 8.00 | /lib | 15.0k, Link |
FRITZ!Box 7590 (main) | 7.39 - 8.00 | /lib | 14.9k - 15.0k, Link |
FRITZ!Box 7590 AX (main) | 7.39 - 8.00 | /lib | 14.9k - 15.0k, Link |
FRITZ!Box 7690 | 7.61 - 7.90 | /lib | 13.7k, Link |
31 models use this library |
Symbols
Daily updated index of all symbols of this library. Last update: 2024-11-17 07:59 GMT.
Firmware | Symbol |
---|---|
7.39 - 7.81 | WEBKPI_IPC_webkpi_ipc_alloc |
7.39 - 7.81 | WEBKPI_IPC_webkpi_ipc_free |
7.39 - 8.00 | webkpi_ipc_clone |
7.39 - 8.00 | webkpi_ipc_event_register |
7.39 - 8.00 | webkpi_ipc_event_register_cbdata |
7.39 - 8.00 | webkpi_ipc_event_register_with_cbdata |
7.39 - 8.00 | webkpi_ipc_event_send |
7.39 - 8.00 | webkpi_ipc_event_unregister |
7.39 - 8.00 | webkpi_ipc_free |
7.39 - 8.00 | webkpi_ipc_getcfg |
7.39 - 8.00 | webkpi_ipc_unregister_with_cbdata |
7.39 - 8.00 | webkpi_receiver_exit |
7.39 - 8.00 | webkpi_receiver_init |
7.39 - 8.00 | webkpi_sender_is_monitored_host |
7.39 - 8.00 | webkpi_sender_submit_code |
15 symbols for this library |