How to modify CI Icons in SOI Console

Document ID : KB000021618
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

You can replace CI icons in the SOI Console (in Topology and Tree Views) using the following solution:

Environment:

SOI 3.x

SOI 4.x

Answer:

First, keep in mind that the replacement icons will be used per-type, and cannot be customized per-CI-instance.

    1. Create new directory:

      <SOI>\jsw\bin\sam_class_icons

      Copy your customized icon files to this directory:

      For example:

      class_ico_135_14.png
      class_ico_135_48.png

      You need to provide two icons for each Type you want to override. Greyscale, 32-bit depth, transparent background, 48x48 pixels for Topology and 14x14 pixels for the trees.

    2. Modify the file

      <SOI>\tomcat\webapps\sam\WEB-INF\sam\config\ci-class-config.xml

        <?xml version="1.0" encoding="UTF-8" ?> - <ci-class-config>  <icon-file-path>.\sam_class_icons</icon-file-path> - <user-defined-ci-classes>  <comment>NOTE: ci-class entries containing comment tag are not read</comment> - <ci-class>  <comment>ci-class entry template</comment>   <class-name>my_class</class-name> <!--  required; varchar(64)    -->   <osi-layer-id /> <!--  optional; smallint       -->   <osi-layer-name /> <!--  optional; varchar(48)    -->   <osi-family-name /> <!--  optional; varchar(256)   -->   <family-id /> <!--  optional; int            -->   <significance /> <!--  optional; int            -->   <sig-default /> <!--  optional; smallint       -->   <is-top-level /> <!--  optional; smallint       -->   <is-viewed /> <!--  optional; smallint       -->   <is-modeled /> <!--  optional; smallint       -->   <small-icon /> <!--  optional; varchar(64)    -->   <large-icon /> <!--  optional; varchar(64)    -->   </ci-class>- <ci-class>  <class-name>Alert</class-name>   <is-viewed>0</is-viewed>   <is-modeled>0</is-modeled>   </ci-class>- <ci-class>  <class-name>ApplicationServer</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>BinaryRelationship</class-name>   <is-viewed>0</is-viewed>   <is-modeled>0</is-modeled>   </ci-class>- <ci-class>  <class-name>ComputerSystem</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>DatabaseInstance</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>GenericIPDevice</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>ITActivityTemplate</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>MailServer</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>Network</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>Router</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>Switch</class-name>   <is-aggregating>1</is-aggregating>   </ci-class>- <ci-class>  <class-name>Service</class-name>   <small-icon>class_ico_135_14.png</small-icon>   <large-icon>class_ico_135_48.png</large-icon>   </ci-class>  </user-defined-ci-classes>- <user-defined-ci-families>  <comment>Currently not implemented</comment> - <ci-family>  <comment>ci-family entry template</comment>   <name>Test</name> <!--  required; varchar(256)   -->   <description>Test entry</description> <!--  optional; varchar(256)   -->   </ci-family>  </user-defined-ci-families>  </ci-class-config>

 

  1. Recycle CA SAM Application Server and CA SAM User Interface Server