Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Grafana Image Renderer with IOT Dashboard V2.6

Grafana Image Renderer with IOT Dashboard V2.6

tszalkai
Member

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.

tszalkai_0-1722966770351.png

Unfortunately, after clicking the link, it errors out with Page Not Found, see below.

tszalkai_1-1722966851915.png

Is grafana Image Renderer not supported within the IOT Dashboard app?

 

 

2 REPLIES 2

Sgilk
Frequent Contributor

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.

Sgilk
Frequent Contributor

@tszalkai ,

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)
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist