Appboard/old/widgets/topology 2.2: Difference between revisions

imported>Jason.nicholls
imported>Jason.nicholls
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Note|This page documents the deprecated Topology Widget that existed in AppBoard versions prior to 2.3.  For documentation on the current Topology Widget, see [[Topology_Widget|Topology Widget]].}}
{{DISPLAYTITLE:Topology Widget 2.2}}
[[Category:AppBoard old]]
{{Note|This page documents the deprecated Topology Widget that existed in AppBoard versions prior to 2.3.  For documentation on the current Topology Widget, see [[appboard/old/widgets/topology|Topology Widget]].}}





Latest revision as of 11:46, 17 July 2014

Template-note.png
This page documents the deprecated Topology Widget that existed in AppBoard versions prior to 2.3. For documentation on the current Topology Widget, see Topology Widget.


A Topology Widget is a diagram that displays the visual layout of devices that are connected to one another, typically on a computer network.


Topology Widget Sample


How To Create a Topology Widget

For instructions on creating a Widget, see the general instructions in Adding Widgets. The Topology Widget type is located under the Diagrammer category on the Widget selection screen.

How To Configure an Area Chart Widget

Follow the instructions above to create the basic "Topology" Widget, and then perform the following steps to configure an Area Chart Widget:


Select a Data Collection

Select a Data Collection that contains the information you would like to use for this Widget.

  • Click the "Data Collection" pulldown, then select from the list of available Data Collections.
  • If there are no Data Collections available in the pulldown, then click here for instructions on how to bring in some Sample Chart Data, or refer to Add/Edit/Remove a Data Collection.
See the Sample Data section below for instructions on using sample data to create a Topology Widget


The Topology Widget uses a field called "children" to determine how data items are related to one another. To use the Widget, you must first create a Data Source with an Association. On the "Associate" tab of the Data Source editor, create a field called "children" which associates one entity to another. For example, you could associate the Host_Name field in a datacenter table with the Host_Name field in a server details table. Then have the Topology Widget use a Data Collection which uses this Data Source. The Widget will use the "children" association to draw the topology.

Configuring the Label Field

Select the desired Label Field to use for naming the items in the topology display.


Status Rules - Color Filter

[Optional] Click Add to create a set of Color Filter rules which will determine the coloration of the icons for each node in the Topology diagram, based on the attributes of that node.


Icon Rules - Icon Filter

[Optional] Click Add to create a set of Icon Filter rules which will determine the icon to display for each node in the Topology diagram, based on the attributes of that node.


Additional Configuration Steps

  • Provide additional configuration, if needed, on the Options tab. For details on the available Options, see Options.


  • Enter the following information on the Actions tab:
    • Click Add Event Action to configure one or more Actions to be invoked when a user clicks on the Topology Widget. The action will apply to the current data record being displayed.

Sample Data

Perform the following steps to create a Topology Widget using sample data provided with Appboard:


Create a Data Source

  1. Log in to AppBoard Builder as an administrator.
  2. In the Builder Modes panel, select Data Sources.
  3. Click the "Add" button in the bottom toolbar. The "Create New Data Source" dialog is displayed.
  4. Type in the name "Sample.TreeMap".
  5. Select the "File" category for the adapter type, then choose "CSV File".
  6. Click the "Add Data Source" button in the bottom toolbar.
  7. The "CSV File" Data Source Wizard is displayed.


Configure the Data Source

  1. For the File Path, enter ${application.home}/data/pkg/appboard/tutorial/TreeMapData.csv.
  2. Click "Next" in the bottom toolbar.
  3. On the "Explore" step, click "Next".
  4. On the "Associate" step, click "Add Association".
    1. For "Add Field", enter "children". This is the name the Tree Map Widget uses to determine associations.
    2. Use the "Select Entity" drop-downs to set an association of "sample.TreeMap.TreeMapData.Network_ID" = "sample.TreeMap.TreeMapData.Parent_ID"
  5. Click "Finish".


Configure the Data Collection

  1. In the Builder Modes panel, select Data Collections.
  2. Click "Add".
  3. Name the Data Collection "sample.Topology"
  4. For the Data Source, select "sample.TreeMap.TreeMapData"
  5. Click Next to go to the "Client Side Filter" panel
  6. Add a Rule of type "Simple Property Comparison"
  7. Enter the property "Network_ID" "=" "2"
  8. Click "Finish".


Configure the Widget

  1. For the Data Collection, select "sample.Topology"
  2. For the Label Field, select "Location"
  3. For the Area Field, select "Outages"
  4. Add a Color Filter called "Topology Colors"
    1. Select "Add Color" six times to add six rows
    2. For the first rule, select the red color and set the rule to be "Color" "=" "Red"
    3. Repeat the same step for the colors green, gray, blue, white, and brown
    4. Click "X" to close the Color Filter editor
  5. Add an Icon Filter called "Topology Icons". Configure the icons such as illustrated in the following diagram:
Sample Topology Icon Filter Rules


The completed Widget should provide a display similar to the following:

Topology Widget Using Sample Data
Template-tip.png
Note that in the above example, the Topology Widget is being used to show not only the devices on a regional network, but also whether any critical or non-critical alarms have been received for these devices