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.

0
U

Property:libwebkpi.so

From BoxMatrix
(Redirected from 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

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: 2024-04-18 07:16 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 - 7.90 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 50 7.39 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libc.so 50 7.39 - 7.90 Standard C library Linux
Depends on lib libdl.so 41 7.39 - 7.90 Dynamic linking library Linux
Depends on lib libm.so 41 7.39 - 7.90 C math library Linux
Depends on lib libpthread.so 41 7.39 - 7.90 POSIX threading library Linux
Depends on lib librt.so 41 7.39 - 7.90 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 50 7.39 - 7.90 supervisor notification library AVM
Depends on lib libyajl.so 50 7.39 - 7.90 Event-driven JSON parser Linux
Depends on lib libz.so 50 7.39 - 7.90 Zlib compressor / decompressor Linux
Required by lib libtr069.so 50 7.39 - 7.90 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: 2024-04-18 15:54 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 4020 7.39 /lib 17.7k, Link
FRITZ!Box 4040 7.39 - 7.57 /lib 13.7k - 17.7k, Link
FRITZ!Box 4050 7.57 /lib 13.7k, Link
FRITZ!Box 4060 7.39 - 7.57 /lib 13.7k - 17.7k, Link
FRITZ!Box 5530 Fiber (main) 7.39 - 7.80 /lib 14.9k - 17.7k, Link
FRITZ!Box 5590 Fiber (arm) 7.39 - 7.90 /lib 13.7k - 17.7k, Link
FRITZ!Box 5690 Pro (arm) 7.59 /lib 13.7k, Link
FRITZ!Box 6430 Cable (arm) 7.57 /lib 17.8k, Link
FRITZ!Box 6490 Cable (arm) 7.39 - 7.57 /lib 13.5k - 17.8k, Link
FRITZ!Box 6490 Cable (atom) 7.39 - 7.51 /lib 13.5k - 13.6k, Link
FRITZ!Box 6590 Cable (arm) 7.39 - 7.57 /lib 13.5k - 17.8k, Link
FRITZ!Box 6590 Cable (atom) 7.39 - 7.51 /lib 13.5k - 13.6k, Link
FRITZ!Box 6591 Cable (arm) 7.39 - 7.57 /lib 17.7k - 17.8k, Link
FRITZ!Box 6591 Cable (atom) 7.39 - 7.57 /lib 17.7k - 17.8k, Link
FRITZ!Box 6660 Cable (arm) 7.39 - 7.57 /lib 17.7k - 17.8k, Link
FRITZ!Box 6660 Cable (atom) 7.39 - 7.57 /lib 17.7k - 17.8k, Link
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /lib 17.8k - 21.8k, Link
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /lib 21.8k, Link
FRITZ!Box 6690 Cable (arm) 7.39 - 7.57 /lib 17.7k - 21.8k, Link
FRITZ!Box 6690 Cable (atom) 7.39 - 7.57 /lib 17.7k - 21.8k, Link
FRITZ!Box 6820 LTE v1 7.39 - 7.51 /lib 15.0k - 17.7k, Link
FRITZ!Box 6820 LTE v2 7.39 - 7.51 /lib 15.0k - 17.7k, Link
FRITZ!Box 6820 LTE v3 7.39 - 7.57 /lib 15.0k - 15.1k, Link
FRITZ!Box 6840 LTE 7.39 /lib 17.7k, Link
FRITZ!Box 6850 LTE 7.39 - 7.58 /lib 13.7k - 17.7k, Link
FRITZ!Box 6850 5G 7.39 - 7.51 /lib 13.7k - 17.7k, Link
FRITZ!Box 6890 LTE 7.39 - 7.51 /lib 14.9k - 17.7k, Link
FRITZ!Box 6890 LTE v1 7.39 - 7.51 /lib 14.9k - 17.7k, Link
FRITZ!Box 6890 LTE v2 7.39 - 7.51 /lib 14.9k - 17.7k, Link
FRITZ!Box 7272 7.39 /lib 17.7k, Link
FRITZ!Box 7430 7.39 /lib 17.7k, Link
FRITZ!Box 7490 (main) 7.39 - 7.57 /lib 15.0k - 17.8k, Link
FRITZ!Box 7510 7.39 - 7.57 /lib 13.7k, Link
FRITZ!Box 7520 7.39 - 7.51 /lib 13.7k - 17.7k, Link
FRITZ!Box 7520 v2 (arm) 7.39 - 7.57 /lib 13.7k - 17.7k, Link
FRITZ!Box 7530 7.39 - 7.56 /lib 13.7k - 17.7k, Link
FRITZ!Box 7530 AX 7.39 - 7.90 /lib 13.7k - 17.7k, Link
FRITZ!Box 7560 7.39 /lib 17.7k, Link
FRITZ!Box 7583 7.50 - 7.57 /lib 14.9k - 15.0k, Link
FRITZ!Box 7590 7.39 - 7.90 /lib 14.9k - 17.7k, Link
FRITZ!Box 7590 AX 7.39 - 7.90 /lib 14.9k - 17.7k, Link
FRITZ!Box 7690 7.59 /lib 13.7k, Link
FRITZ!Repeater 600 7.39 /lib 17.7k, Link
FRITZ!Repeater 1200 7.39 /lib 17.7k, Link
FRITZ!WLAN Repeater 1750E 7.39 /lib 17.7k, Link
FRITZ!Repeater 2400 7.39 /lib 17.7k, Link
FRITZ!Repeater 3000 7.39 /lib 17.7k, Link
FRITZ!Repeater 3000 AX 7.39 /lib 17.7k, Link
FRITZ!Powerline 1260E 7.39 /lib 17.7k, Link
49 models use this library

Symbols

Daily updated index of all symbols of this library. Last update: 2024-04-18 07:16 GMT.

Firmware Symbol
7.39 - 7.80 WEBKPI_IPC_webkpi_ipc_alloc
7.39 - 7.80 WEBKPI_IPC_webkpi_ipc_free
7.39 - 7.90 webkpi_ipc_clone
7.39 - 7.90 webkpi_ipc_event_register
7.39 - 7.90 webkpi_ipc_event_register_cbdata
7.39 - 7.90 webkpi_ipc_event_register_with_cbdata
7.39 - 7.90 webkpi_ipc_event_send
7.39 - 7.90 webkpi_ipc_event_unregister
7.39 - 7.90 webkpi_ipc_free
7.39 - 7.90 webkpi_ipc_getcfg
7.39 - 7.90 webkpi_ipc_unregister_with_cbdata
7.39 - 7.90 webkpi_receiver_exit
7.39 - 7.90 webkpi_receiver_init
7.39 - 7.90 webkpi_sender_is_monitored_host
7.39 - 7.90 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