Skip to main content
Version: 6.1

Managing Custom Icons

Custom icons are managed through SSH; no user interface is provided. Custom icon files must meet the requirements to render correctly.

If an icon file does not meet the specified requirements or cannot be read, the alert icon, an exclamation mark inside a triangle, is displayed instead of the custom icon.


Custom Icon File Location

Custom icon files must be stored in the /assets/custom-icons/ directory of the SmartMonitorCoreVisualizations plugin. Create this directory if it does not exist.

Icons in SVG and PNG formats are supported. They must meet the established requirements. Files with other extensions in this directory are ignored and are not included in the custom icon set.


Using Custom Icons

The system name of a custom icon consists of:

  • the custom. prefix
  • the base file name without the extension

Therefore, a custom icon system name has the format custom.<file_name>. For example, the system name for icon_name.png is custom.icon_name.

Important

If two files have the same base name but use different PNG and SVG extensions, the icon from the SVG file takes precedence.

System names are used to display custom icons in supported visualizations:


Adding and Removing Icons

To add a custom icon, place its file in the directory specified in Custom Icon File Location.

To remove a custom icon, delete its file from the directory specified in Custom Icon File Location.