Smarts SAM: How do you generate a generic console within a Web console in Smarts SAM?
search cancel

Smarts SAM: How do you generate a generic console within a Web console in Smarts SAM?

book

Article ID: 304302

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


How do you generate a generic console within a Web Console in Smarts SAM?

When the Web Console/Business Dashboard is started, it appears with a basic console format

Environment

VMware Smart Assurance - SMARTS

Resolution

To generate a generic console similar to the console generated from the sm_gui -c generic command, you need to edit the globalConsoleWithMaps.html and globalConsoleApp.jnlp files as described in the following sections of this Fix statement. 

Setting up the HTML connection for a generic console
To set up the HTML connection for a generic console, do the following:

  1. Open the globalConsoleWithMaps.html file for editing using an appropriate HTML editor. This file is located in the following directory:

    <BASEDIR>/SAM/smarts/jakarta-tomcat-5.0.16/webapps/webconsole/

     
  2. In this file, change all instances of the following class:

    com.smarts.consolidation.SmConsNotificationsApp.class

    to the following class:
     
    com.smarts.standard.SmStandardApp.class

     
  3. Save and close the globalConsoleWithMaps.html file.

Setting up the JNLP connection for a generic console
To set up a Java Network Launching Protocol (JNLP) connection for a generic console, do the following:

  1. Open the globalConsoleApp.jnlp file for editing using an appropriate editor. This file is located in the following directory:

    <BASEDIR>/SAM/smarts/jakarta-tomcat-5.0.16/webapps/webconsole/

     
  2. In this file, change the following:

    <application-desc main-class="com.smarts.consolidation.SmConsNotificationsApp" >

    to the following:

    <application-desc main-class="com.smarts.standard.SmStandardApp" >

     
  3. Save and close the globalConsoleApp.jnlp file.