NetOps Customer Validation (aka IM Pre Release) 1

 View Only
Expand all | Collapse all

Launching CA Performance Center in context from CA Spectrum topology map

  • 1.  Launching CA Performance Center in context from CA Spectrum topology map

    Posted Jul 31, 2012 09:37 AM
    This post describes how to customize CA Spectrum to support launching CA Performance Center in context from your OneClick topology view models.

    Special thanks to Bill Donoghue who shared the following with us:
    >
    <!-- The XML below adds a context based link to the CA Performance Center.  It launches for most all devices in spectrum based on the following model classes (Model_Class attribute):  Switch, Router, Switch-Router, Workstation-Server, Pingable, SNMP, Firewall, Wireless, SAN, Printer, Power Supply, Load Balancer.  
    
    To implement:  
    1.  On the OneClick webserver copy the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/console/config/custom-menu-config.xml file to $SPECROOT/custom/console/config  
    2.  Copy the xml below to the copied custom-menu-config.xml 
    
    NOTE:  this needs to be added to the end of the file preceding the </root> tag.  This implements the launch point in the OneClick Tools Menu, if customizations have already been made to the Tools menu, the menu tags below are not needed. 
    3.  Change CAPCHOST to that of the hostname or IP address of your CA Performance Center system. 
    4.  Restart your OneClick instance.
    
    You will now see a right-click menu option off a device or an alarm for all devices of the model classes mentioned above (regardless if they exist in CA Performance Center or not).  
    -->
    
    <menu name="com.aprisma.spectrum.app.swing.window.menu.Tools">
    
    <item name="Device Performance Page (CAPC)">
    
    <popup-visibility>when-enabled</popup-visibility>
    
    
    <action>
            <filter>
             <and>
              <has-attribute>AttributeID.NETWORK_ADDRESS</has-attribute>
    
        <attribute-list id="AttributeID.MODEL_CLASS">
    
    
    
    2,
    
    
    
    3, 
    
    
    
    4, 
    
    
    
    9,
    
    
    
    12,
    
    
    
    14,
    
    
    
    27,
    
    
    
    40,
    
    
    
    45,
    
    
    
    48,
    
    
    
    103,
    
    
    
    111,
    
    
    
    120
    
        </attribute-list>
            </and>
    
            </filter>
    
            <context>
              com.aprisma.spectrum.app.topo.client.render.ModelContext
            </context>
            <context>
              com.aprisma.spectrum.app.alarm.client.group.AlarmContext
            </context>
        
            <launch-browser>
              <url>http://CAPCHOST:8181/pc/redirector?ItemTypeName=device&amp;Address={0}</url>
              <param>
                <attribute>AttributeID.NETWORK_ADDRESS</attribute>
              </param>
            </launch-browser>
          </action>
        </item>
    </menu>


  • 2.  RE: Launching CA Performance Center in context from CA Spectrum topology map

    Posted Sep 10, 2021 11:04 AM
    Hello,
    my post may be irrelevant.
    However, I would like to point out that all this remains valid with the latest versions of the products.

    CAPM MENU IN ONECLICK