Customize Out of the Box Report Templates Using List Designer and Performance Reports Designer

book

Article ID: 35001

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

You may wish to tweak an out-of-the-box template.  Follow the instructions in this article to do so and to ensure that your changes are retained across wasp restarts.  We will create a modification in List Designer to illustrate.

Note:  You can also create new reports and views using this process.  The only difference will be that you will be creating a new report or view, thus you will be ADDING your definition to the appropriate definition file rather than replacing an existing definition.

How Do I Customize Out of the Box Report Templates?

 

Environment

UIM 8.x, 9.x, 20.1

Resolution

Follow these steps:

  1. Navigate to the Design tab and click on Lists.
  2. In the resulting ListDesigner screen click on the folder icon and traverse directory structure to open the View that you wish to modify. In our example, we have chosen the
    Unified Dashboards/Servers/Server LoadView as shown here:

 

  1. Make your changes.  In this example, we will add another column as shown here:

  1. Save your report using the same name, thus overwriting the original.
  2. Navigate to the following url, based on whether you are modifying a list or a report:

    Go tohttp://UMP_Server/listdesigner/jsp/export_lists.jsp (for Lists)
    Go to http://UMP_Server/qoschart/jsp/export_reports.jsp (for PRD)

    6.  Select the row from the resulting page.  The selection will capture xml similar to the following:

    Unified Dashboards/Servers/Server Load <> <state ver="251"><sort><field>c1332359972841</field><descending>true</descending></sort><currentView>Unified Dashboards/Servers/Server Load</currentView><currentVis>0</currentVis><breadCrumbs></breadCrumbs><listMode>host</listMode><columns><column><dataField>source</dataField><width>408</width><configDef><headerText>Host</headerText><type>host</type></configDef></column><column><dataField>c1283279861179</dataField><width>214</width><targetdef><target>*</target><qos>QOS_CPU_USAGE</qos><r_table>RN_QOS_DATA_0014</r_table><unit>Percent</unit><unit_short>%</unit_short></targetdef><configDef><type>Gauge</type><headerText>1hr Avg CPU Usage</headerText><maxThresh>100</maxThresh><threshold><low>0.00</low><high>80</high><statusIcon>0</statusIcon><statusLabel/></threshold><threshold><low>80</low><high>90</high><statusIcon>4</statusIcon><statusLabel/></threshold><threshold><low>90</low><high/><statusIcon>5</statusIcon><statusLabel/></threshold><aggregation>avg</aggregation><periodVal>1</periodVal><periodRes>hours</periodRes><showValue>true</showValue><showUnits>true</showUnits></configDef></column><column><dataField>c1283279714442</dataField><width>233</width><targetdef><target>*</target><qos>QOS_PROC_QUEUE_LEN</qos><r_table>RN_QOS_DATA_0005</r_table><unit>Processes</unit><unit_short>procs</unit_short></targetdef><configDef><type>Gauge</type><headerText>1hr Avg Proc Queue Length</headerText><maxThresh>200</maxThresh><threshold><low>0.00</low><high>6</high><statusIcon>0</statusIcon><statusLabel/></threshold><threshold><low>6</low><high>10</high><statusIcon>4</statusIcon><statusLabel/></threshold><threshold><low>10</low><high/><statusIcon>5</statusIcon><statusLabel/></threshold><aggregation>avg</aggregation><periodVal>1</periodVal><periodRes>hours</periodRes><showValue>true</showValue><showUnits>true</showUnits></configDef></column><column><dataField>c1332359972841</dataField><width>150</width><targetdef><target>$HOST</target><qos>QOS_MEMORY_USAGE</qos></targetdef><configDef><type>Numeric</type><headerText>1hr Avg Memory Usage</headerText><aggregation>avg</aggregation><periodVal>1</periodVal><periodRes>hours</periodRes><showUnits>false</showUnits></configDef></column></columns><selectedCol>3</selectedCol><rowLimit>20</rowLimit><drillDownTemplate>USM Dynamic Report Templates/Server Load</drillDownTemplate><hideRepeats>false</hideRepeats><groups><group><groupName></groupName><overrideTemplate>false</overrideTemplate><drillDownView>USM Dynamic Report Templates/Server Load</drillDownView><rowSelectors><rowSelector><logical>or</logical><not>false</not><attribute>probe</attribute><operator>is</operator><value>cdm</value></rowSelector><rowSelector><logical>and</logical><not>false</not><attribute>qos</attribute><operator>is</operator><value>QOS_CPU_USAGE</value></rowSelector></rowSelectors></group></groups></state>

    7.  Navigate to the following path on your UMP server:

    wasp/webapps/listdesigner/defaultViews/filename.lists <-- for List VIews
    wasp/webapps/qoscharts/defaultViews <-- for Performance Reports

    8.  Open the file that contains the definition for the List View that you modified. In this example, the 
    servers.lists using wordpad or notepad++.

    9.  Replace the existing definition with the definition from step 6.  In this example, we will replace the definition for the 
    Server Load list.

  1. Restart wasp to confirm that the customization made has been retained across the restart.

Attachments

1558722457854000035001_sktwi1f5rjvs16wg5.jpeg get_app
1558722456039000035001_sktwi1f5rjvs16wg4.jpeg get_app
1558722453904000035001_sktwi1f5rjvs16wg3.jpeg get_app