Hello,
we had a customer reporting that the URL for the context-sensitive drill-down from Spectrum 9.3 to IM 2.3 is not rendered properly. Looking at our own installation I was able to reproduce the problem. The Java renderer used doesn't seem to populate all necessary fields to create a valid URL (see attached screenshot).
However I also found a workaround which I want to share with you.
The file where the menu item is configured in Spectrum can be found here:
/opt/spectrum/tomcat/webapps/spectrum/WEB-INF/netqos/config/netqos-app-config.xml
The following code in the netqos-app-config.xml file is responsible for creating the link to the Performance Center menu we find the Right-Click menu:
<launch-browser>
<url>{0}</url>
<param>
<renderer>com.ca.im.netqos.integration.client.render.NetqosURLLaunchRenderer</renderer>
</param>
</launch-browser>
As we can see CA uses a Java render creating the URL and putting all the information in. As we cannot really fix the Java code, I came up with the following work-around:
<launch-browser>
<url>http://192.168.53.50:8181/pc/desktop/page?pg=sw&DeviceID={0}</url>
<param>
<attribute>0x13214</attribute>
<renderer>com.aprisma.spectrum.app.util.render.SimpleIntegerRenderer</renderer>
</param>
</launch-browser>
We basically have to hard-code the URL and port information into the code. The only thing that differes for each context-sensitive drill-down link is the ItemID for the device in CA IM 2.0. Luckily this is also being saved in the attribute 0x13214. So I use this and dynamically pass it to the URL. This allows us to be still context sensitive, yet have a working drill down into CA IM 2.0. To get it to work on your system you have to change the IP address shown in the example with the IP address of your Performance Center.
I also posted this in the Spectrum community as a response to Carlos, who already encountered a similar problem a few days ago. An official support ticket is also open.
Hope that helps.
Greetings,
Ben