Updating a topology on the same DASH page

You can add a right-click menu item to the Netcool/OMNIbus Web GUI event list, which you can use to update an already-open Agile Service Manager Topology Viewer that is on the same page in DASH as the event list.

Procedure

  1. As a user with the Web GUI admin role, log into your DASH web application.
  2. Open the Netcool/OMNIbus Web GUI tool configuration page: Administration > Event Management Tools > Tool Configuration
  3. Create a new Script tool, with a script command similar to the following example:

    In this example the topology seed is a vertex name whose value is derived from the Node field in a Netcool/OMNIbus event.

    var eventPayload = {
        "name": "http://ibm.com/tip#NodeClickedOn", 
        "payload": {
            "product": { 
                "AgileServiceManager": { 
                    "resourceName": "{@Node}",
                    "hops": 2,
                    "hopType": "e2h"
                } 
            }
        } 
    };
    {$param.portletNamespace}sendPortletEvent(eventPayload); 
    Tip: Use the following list of supported parameters: Table 1
  4. Open the Netcool/OMNIbus Web GUI menu configuration page: Administration > Event Management Tools > Menu Configuration
  5. Add the tool to the Alerts menu.
  6. In DASH, click Console Settings > General > Pages and create a new page.
  7. Add an Event Viewer portlet and a Topology Viewer portlet to the page, and arrange them as required.

Results

When you select an event from your Event Viewer portlet and launch your new tool, the Topology Viewer on the same DASH page will be updated, and render the topology for the seed whose resource name property matches the Node field value from the selected event.