How to use the Device Manager

The Device Manager (DM) is a graphical user interface to manage networking devices using Simple Network Management Protocol (SNMP). DM provides the following features:
 
  1. Physical View
  2. Edit Configuration
  3. Performance Monitoring
(A Note on the Screenshots: the following images show DM running under Windows and Unix CDE.)

1. Physical View

The following generic device illustrates the physical view. This device has elements - cards and ports - which have state (up, down, etc.).

The main window has:
 
 

Menubar

Every device has the following menu structure listed below. Some devices may add to this list; please see Help->Device for more details on the capabilities of specific devices.
  In addition, some devices may add specific menus that relate only to that device or family of devices.


Open Device

Enter the device name and press the Open button. The community strings will default to public and private respectively. Many devices default their read communities to public, however it is unlikely (and insecure) that a device's write community will be set to private. You can change the default community strings in the initialization file ($DMPATH/dm.ini).

HP OpenView users only: DM will query the OpenView SNMP database for the device's community strings.

As characters are typing into the community entry fields they are echoed with asterisks to protect the password.

If a device fails to respond, DM will display a timeout message. Usually timeouts indicate that you need to increase your retransmission retries and timeout interval because the network is slow. However you will also get a timeout if you have failed to supply the correct read community. It is also possible (though rare) that device is not running SNMP or that the SNMP process has crashed.

An attempt to open an unsupported device will respond with an unsupported error message.


Print

This window will vary according to Operating System. On Unix systems, xgrabsc(1), xpr(1), and lpr(1) are used to capture and print the chassis image in PostScript to a file or printer. Graphs internally generate PostScript and just use lpr(1) to print.


Properties

If DM successfully registers with the device for traps, the status poll and hotswap interval will default to 5 and 10 minutes respectively. (This conserves bandwidth but provides a safeguard against incorrectly displaying an element's state because a trap has been lost.)


Toolbar

Toolbar buttons are usually a subset of the menu commands. Like menus, every device has the following commands. Certain devices may add to this list by inserting their own commands; please see Help->Device for more details.
 

Legend and Physical View

When a device is first opened, DM discovers the physical elements present. These elements - cards, ports, power supplies, etc - are then displayed in the physical view window. Some of these elements have state, ie they are behaving normally or abnormally. This state is show by color. The meaning of these colors is shown on the legend which can be accessed from the Help menu.
  Fail and Up are universally displayed as red or green. DM follows the HP OpenView's default color conventions.

Popup Menus

Popup menus can be displayed over elements in the physical view by holding down the right mouse button. They serve two purposes:
 
  1. Short cut to edit, graph windows.
  2. They can be customized to place common element operations - eg enable or reset - into a short cut.
However, popup menus - because they are not immediately apparent to the user - never contain commands that can't be accessed elsewhere.

Status Line

The status line is used to communicate short-term messages to the user. Non-catastrophic errors (ie those that don't require an error window or prompt) are also displayed here:
  (XXX SNMP V2 has refined the meanings of some of these generic errors:)


2. Edit Configuration

Many networking devices have the following physical elements: chassis, cards, and ports. Each of the elements can have both physical and logical attributes associated with them. These attributes are grouped into categories which can be viewed and modified.

Single Element Editing

There are several alternative ways to edit an element:
 
  1. Select the element by clicking the left mouse button over the element and press the Edit toolbar button.
  2. Double-click the left mouse button over the element.
  3. Select the element and choose the Edit->{element name} menu.
  4. Press the right mouse button over the element and choose the Edit menu item from the popup menu.
For example, a port edit window looks like this:


 
 

Table Editing

Some attribute categories have a table of attributes associated with them. These attributes are displayed in a two dimensional grid. Tables are not unlike simple edit categories but they do have the following differences:
 
 

(See Table Manipulation)

Multiple Element Editing

More than one element can be selected at the same time by:
 
  1. Holding down the Shift or Control key when left-mouse clicking over an element. This acts as a selection toggle. Shift-Clicking on an unselected element will add it to the selection list, shift-clicking it again will remove it from the selection list.
  2. Marquee selection. Holding the left mouse button down and drag. Elements enclosed within the selected area will be selected. (Note that you can't select different elements - eg cards and ports - together.)
  3. Select all elements of a given type from the Select menu.
Once you have selected several elements, you can display the Edit window in the same manner as a single element edit by toolbar button, menubar item, or popup menu item. Double-click will always select a single element.

The five ports that we selected in this example are displayed in a table. The column titles describe the value names. The row titles describe the element instances. Tables are identical to lists with the following exceptions:
 
 


3. Performance Monitoring

It is important to be able to view numeric element attributes in a graphic fashion for easier comprehension. DM provides you with the ability to view this data in Piecharts, 2-D line and barcharts. The Graph window structure has much in common with Edit windows.

Single Element Graphing

There are several ways in which to graph an element:
 
  1. Select the element by clicking the left mouse button over the element and press the Graph toolbar button.
  2. Select the element and choose the Graph->{element name} menu.

  3.  

     

    Press the right mouse button over the element and choose the Graph menu item from the popup menu.
     
     

For example, a port graph window looks like this:

In the case of a single element, seven columns of numbers are displayed for each attribute:
 
 

  1. Absolute. The actual counter value on the device.
  2. Cumulative. The counter increase we've seen since this window was displayed.
  3. Average. The average value we've seen so far.
  4. Minimum. The smallest value we've seen so far.
  5. Maximum. The largest value we've seen so far.
  6. LastValue. The last value.
Rows, columns, or cells may be selected in the table. The selected cells can be displayed in a line, bar, or pie chart by clicking one of the buttons at the lower left-hand side of the table.

The poll interval can be changed to suspend, increase, or decrease the time period between counter value requests.

Line chart.

The element instance is located at the top left hand corner of the graph. In our example, we are looking at traffic on port 1. Data values are read from left to right. At selected intervals - depending on graph width - the time is displayed in hour:minute:second using the 24 hour clock. The attributes that we are monitoring are displayed in the legend located in the graph's right margin. Graph windows are resizable.

You can see attribute values directly by pressing the left mouse button on the line or barchart.

We also have two new buttons:
 
 

  1. Print generates a PostScript image of the graph and displays the print window.
  2. Options allows you to alter some of the graph options:

  3.  

     


     
     

    1. Display: whether the following graph elements are displayed:
      1. legend: dataset colors and names
      2. grid lines: extend from the major and minor ticks of each axis horizontally or vertically across the plotting area.
      3. x axis: ticks, tick labels, and xaxis title
      4. y axis: ticks, tick labels, and yaxis title
    2. Position Legend: which edge of the graph to display
    3. Legend Relief: legend box appearence
    4. X Axis Label Rotation: degrees to rotate the tick labels. use 45 or 90 to fit more labels in the same width.
    5. Y Axis Scale: use log scale to display datasets of wildly different values in the same graph.
    6. Num X Axis Elements. (Linechart only). The number of x values displayed per dataset. A larger number will provide more history.
    7. Barchart (Barchart only). How bars are displayed.
    Individual lines (or bars) can also be modified:
     
    1. Display: show dataset in graph. (DM will continue to poll for the values, however.)
    2. Color: dataset color.
    3. Symbol: choose from no (default) or eight symbol types.
    4. Linewidth: choose from one (default) or zero, two to four.
    A symbol and a linewidth of zero will produce a point chart.

    Other graph options can be modified by editing the dm.ini file.
     
     

Multiple Element Graphing

Just as with Edits, you can select a number of elements and see them displayed in one graph, however only the last values are displayed for each selected element.

The preceeding graph is monitoring ports 1/1, 1/2, 1/3 and 1/4 for same attributes as the single port example.