We have Spectrum as data source for the Netops Portal
In Spectrum we added a CAPC_ITEM_ID attribute in the Alarms.
We want to use the CAPC_ITEM_ID as part of the alarm integration to use in a common URL so users can click the URL and go to the Device details in the Portal.
When looking at the "Details" page of a device in the Netops Portal, we notice that the URL appears to contain a letter that indicates the device type. For example, if the devices is a router the URL contains an "r", and for other types of devices we see that the URLs contain "sw", "d", etc.
Is there a way to access a "generic" URL that does not contain these letters?
The idea is to use the Alarm scripts from Spectrum to include the variable for the CAPC_ITEM_ID and to be added in the URL
CAPC_ITEM_ID = $var
You can construct this using the "CAPC_URL_Prefix" from Spectrum:
From the Spectrum side:
In OneClick, click on the Locater tab.
Select the Application Models Group.
Double-click on the All Application Models search.
Filter for the NetqosIntegrationManager model.
In Component Detail, click on the Attributes tab.
Filter for the CAPC_URL_Prefix
That attribute includes everything up to "ItemID="
For example, the resulting URL will look something like this:
http(s)://PORTAL:8181(2)/pc/redirector?ItemID=<itemid>