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 september. Please use hippie2000@webnmail.de instead.

0
U

Property:libwebkpi.so

From BoxMatrix


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 Gallery

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Shared-Library

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.so
  • webkpi_receiver_* which is only used by libtr069.so
  • WEBKPI_IPC_* and webkpi_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:

Monitored AVM API services currently cover:

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: 2023-01-30 18:58 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 8 7.39 - 7.51 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 23 7.39 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libc.so 23 7.39 - 7.51 Standard C library Linux
Depends on lib libdl.so 7 7.39 - 7.50 Dynamic linking library Linux
Depends on lib libm.so 7 7.39 - 7.50 C math library Linux
Depends on lib libpthread.so 7 7.39 - 7.50 POSIX threading library Linux
Depends on lib librt.so 7 7.39 - 7.50 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 23 7.39 - 7.51 supervisor control library AVM
Depends on lib libyajl.so 23 7.39 - 7.51 Event-driven JSON parser Linux
Depends on lib libz.so 23 7.39 - 7.51 Zlib compressor / decompressor Linux
Required by lib libtr069.so 23 7.39 - 7.51 ctlmgr plugin library for TR-069 config 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: 2023-01-30 16:58 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 /lib 13.7k, Link
FRITZ!Box 4060 7.39 /lib 13.7k, Link
FRITZ!Box 5590 Fiber (arm) 7.39 /lib 13.7k, Link
FRITZ!Box 6490 Cable (arm) 7.39 /lib 13.5k, Link
FRITZ!Box 6490 Cable (atom) 7.39 /lib 13.5k, Link
FRITZ!Box 6590 Cable (arm) 7.39 /lib 13.5k, Link
FRITZ!Box 6590 Cable (atom) 7.39 /lib 13.5k, Link
FRITZ!Box 6591 Cable (arm) 7.39 /lib 17.7k, Link
FRITZ!Box 6591 Cable (atom) 7.39 /lib 17.7k, Link
FRITZ!Box 6660 Cable (arm) 7.39 /lib 17.7k, Link
FRITZ!Box 6660 Cable (atom) 7.39 /lib 17.7k, Link
FRITZ!Box 6690 Cable (arm) 7.39 - 7.50 /lib 17.7k - 21.7k, Link
FRITZ!Box 6690 Cable (atom) 7.39 - 7.50 /lib 17.7k - 21.7k, Link
FRITZ!Box 6850 LTE 7.39 /lib 13.7k, Link
FRITZ!Box 6850 5G 7.39 /lib 13.7k, Link
FRITZ!Box 7490 (main) 7.39 - 7.51 /lib 15.0k, Link
FRITZ!Box 7510 7.39 /lib 13.7k, Link
FRITZ!Box 7520 7.39 - 7.50 /lib 13.7k, Link
FRITZ!Box 7520 v2 (arm) 7.39 - 7.50 /lib 13.7k, Link
FRITZ!Box 7530 7.39 - 7.51 /lib 13.7k, Link
FRITZ!Box 7530 AX 7.39 /lib 13.7k, Link
FRITZ!Box 7590 7.39 - 7.51 /lib 14.9k, Link
FRITZ!Box 7590 AX 7.39 /lib 14.9k, Link
23 models use this library

Symbols

Daily updated index of all symbols of this library. Last update: 2023-01-30 18:58 GMT.

Firmware Symbol
7.39 - 7.51 WEBKPI_IPC_webkpi_ipc_alloc
7.39 - 7.51 WEBKPI_IPC_webkpi_ipc_free
7.39 - 7.51 webkpi_ipc_clone
7.39 - 7.51 webkpi_ipc_event_register
7.39 - 7.51 webkpi_ipc_event_register_cbdata
7.39 - 7.51 webkpi_ipc_event_register_with_cbdata
7.39 - 7.51 webkpi_ipc_event_send
7.39 - 7.51 webkpi_ipc_event_unregister
7.39 - 7.51 webkpi_ipc_free
7.39 - 7.51 webkpi_ipc_getcfg
7.39 - 7.51 webkpi_ipc_unregister_with_cbdata
7.39 - 7.51 webkpi_receiver_exit
7.39 - 7.51 webkpi_receiver_init
7.39 - 7.51 webkpi_sender_is_monitored_host
7.39 - 7.51 webkpi_sender_submit_code
15 symbols for this library

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

l