FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
08-06-2024 07:56 PM
Hi,
I downloaded and installed the Grafana image renderer grafana-image-renderer-3.11.1.linux-amd64.zip to the IOT Dashboard Plugins App Folder. I changed the grafana.ini file as follows:
[plugin.grafana-image-renderer]
;rendering_timezone = America/New_York
;rendering_language = en
;rendering_viewport_device_scale_factor = 2
;rendering_ignore_https_errors = true
;rendering_verbose_logging =
;rendering_dumpio =
;rendering_args =
;rendering_chrome_bin =
;rendering_mode = clustered
;rendering_clustering_mode = browser
;rendering_clustering_max_concurrency = 5
;rendering_clustering_timeout = 30
;rendering_viewport_max_width = 1000
;rendering_viewport_max_height = 500
;rendering_viewport_max_device_scale_factor = 4
;grpc_host =
;grpc_port =
. As I click on a panels' share, I can see the image rendering option, see below.
Unfortunately, after clicking the link, it errors out with Page Not Found, see below.
Is grafana Image Renderer not supported within the IOT Dashboard app?
Solved! Go to Solution.
08-07-2024 10:14 PM
Hi @tszalkai ,
Could you please explain more of your process here? First of all, where did you get the plugin zip file?
The way I read the documentation implies there is a Chromium browser packaged with the plugin that depends on additional shared libraries. It's possible these are not included with the ctrlX OS distribution. You can check over SSH.
cd <grafana-image-render plugin directory>
ldd chrome-linux/chrome
linux-vdso.so.1 (0x00007fff1bf65000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2047945000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2047924000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f204791a000)
libX11.so.6 => not found
libX11-xcb.so.1 => not found
libxcb.so.1 => not found
libXcomposite.so.1 => not found
...
In general, this plugin sounds better suited to run on a device that is both hosting and viewing the Grafana web server.
08-08-2024 04:14 PM
I set this up locally and confirmed that a number of the libraries required for Chrome are missing in ctrlX OS. Unfortunately, this plugin will not function.
linux-vdso.so.1 (0x00007ffe7fba8000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f677971e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6779719000)
libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f67796b9000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f677957f000)
libnss3.so => not found
libnssutil3.so => not found
libsmime3.so => not found
libnspr4.so => not found
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f677952f000)
libatk-1.0.so.0 => not found
libatk-bridge-2.0.so.0 => not found
libcups.so.2 => not found
libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f6779354000)
libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f677933e000)
libatspi.so.0 => not found
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f677930b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6779224000)
libX11.so.6 => not found
libXcomposite.so.1 => not found
libXdamage.so.1 => not found
libXext.so.6 => not found
libXfixes.so.3 => not found
libXrandr.so.2 => not found
libgbm.so.1 => not found
libxcb.so.1 => not found
libxkbcommon.so.0 => not found
libpango-1.0.so.0 => not found
libcairo.so.2 => not found
libasound.so.2 => not found
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6779200000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6778fd6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6788671000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f6778fc9000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6778f53000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6778e8c000)
libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f6778e85000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6778e69000)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f6778e23000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f6778df7000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6778dcc000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f6778cfd000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6778cdd000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f6778cd0000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6778b92000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f6778b5b000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f6778ac4000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6778a9e000)