Though TADDM includes a collection of icons, additional icons may be desired to help to easily identify CI’s.
Required Icons
There are 5 required icons. The examples below use ‘Postgres’ as an example sensor.
Icon Deployment
The 5 icons described above must be placed into the below locations:
‘%COLLATION_HOME%\images\custom\icon_<name>_state.svg’
‘%COLLATION_HOME%\images\custom\icon_<name>_dormant.svg’
‘%COLLATION_HOME%\images\custom\tree\<name>.png’
‘%COLLATION_HOME%\images\custom\tooltip\tooltip_<name>.png’
‘%COLLATION_HOME%\images\custom\icon_<name>_default.svg’
‘%COLLATION_HOME%\deploy-tomcat\cdm\images\custom\tree\<name>.png’
‘%COLLATION_HOME%\deploy-tomcat\images\custom\icon_<name>_state.svg’
‘%COLLATION_HOME%\deploy-tomcat\images\custom\icon_<name>_dormant.svg’
‘%COLLATION_HOME%\deploy-tomcat\images\custom\tree\<name>.png’
‘%COLLATION_HOME%\deploy-tomcat\images\custom\tooltip/tooltip_<name>.png’
‘%COLLATION_HOME%\deploy-tomcat\images\custom\icon_<name>_default.svg’
The icon will be available from the ‘Select Icon’ dialog when creating a new template following a TADDM Server restart.
Icon Packaging
Icons should be packaged with the normal sensor packaging process.
Creating custom graphic icons:
When creating custom resource icons, one must complete the following items:
Visual example of what you will find within the zip source files:
References: http://www.ibm.com/developerworks/exchange/dw_entryView.jspa?externalID=881&categoryID=1109 https://www.ibm.com/developerworks/wikis/display/tivoliaddm/Adding+Sensor+Icons