Location of custom icons in extensions for 2.3.0 and newer

Heyo,

in my ongoing quest to convert my custom extensions to the structure & APIs required by 2.3.0 & newer, I now have an extension that bundles a bunch of custom icons to use with the “Icon image for {services,hosts} in status GUI” rules. Initially I uploaded them via the “Custom icons” functionality & then created a package from them. This package now shows up as “Legacy GUI extensions (deprecated)”.

Those icons are currently located in the local/share/check_mk/web/htdocs/images/icons directory as several .pngs. Where do I move them to in the new structure? e.g. local/lib/python3/cmk/plugins/linet_icons/<what here?>?

Thanks.

1 Like

Hi @mbunkus,

apologize for the late reply.

In 2.3.0 and also 2.4.0 the icon path is still the same. The marker in this regards in the extension packages is misleading for icons (while it’s correct for other files).
So for now you can keep your icons where they’re curerntly located…

BR,
Marsellus W.

1 Like

The problem with this doing is that you will get spammed with messages that you have old incompatible files :wink:

The same problem exists for views.

5 Likes