Monitoring nodes means looking at performance data in real time. This section introduces metrics and thresholds, explains sessions and the types of displays you can choose, and includes information on additional monitoring methods.
Performance Manager can gather data on several hundred metrics. Performance Manager metrics servers listen for and service requests for operating system information. For a description of a particular metric, use context-sensitive help. Metrics are covered in more detail in Chapter 6.
A threshold is a limit (high or low) placed on a specific monitored metric. When a limit is exceeded for more than a specified number of sampling intervals (its tolerance), that threshold is crossed. With its thresholding capability, Performance Manager can set these limits, notify you, and run commands to act on the situation. Thresholds are covered in more detail in Chapter 7.
Everything you do in Performance Manager occurs within a session. A session is to Performance Manager as a file is to an editor. You can change sessions, save sessions, and recall previous sessions.
When creating a session, you can use the default session settings or select which nodes to monitor and which metrics to watch, and set up any thresholds or archives. One session window can contain both display and threshold metrics, and is identified by file name. The following image of the main window calls out the controls you use in setting up a session.
If you are working in the Threshold work area, use the metric's related option menu to choose:
A visual alert icon by the title displays the State (crossed or not crossed, waiting for data, data request timed out) of the threshold.
Starting the session puts everything in motion; the displays you specified will open. Starting the session puts everything in motion: the displays you specified will open and the thresholds you specified will be set. When you are through, stop the session.
Sessions can be saved and recalled later, which eliminates the need to respecify your choices, but you can change anything about a session.
After creating a new session or opening a previously saved session, you need to start it in order to open the session window and monitor data.
In the main window, click on the Stop Session button. You can also stop a session by choosing Stop Session from the session window's File menu.
Each performance metric can be displayed in several display types. Display types are chosen from the option menus to the right of each metric in the main window. The following images are examples of each display type:
The default background color is black, and the default charting colors used in these examples are blue for 5 second intervals, yellow for 30 second intervals, and magenta for 60 second intervals. |
When a new session is opened, all displays are shown in the session window; however, individual displays can be expanded, collapsed, or floated out in their own separate windows.
MetricDisplay Selection |
The display now appears in its own window.
You must save a session after floating displays if you want the displays to appear in their own windows when the session is reopened.
You can interact with the graph displays in Performance Manager in the following ways:
You can change the data styles chosen for the Performance Manager displays by modifying the PM resource file. The resource file is in this location:
A copy of the resource file is included in the reference section of the Performance Manager Help Volume.
The following information may help you work with the resource file:
The XrtDataStyle data structure contains all the information about how a set of data will be represented graphically. The fields are broken down as follows:
For further information, please see your Xt Intrinsics documentation.
! change the graph data styles
pmgr*xrtDataStyles: (( LpatSolid FpatSolid "blue" 1 PointDot "blue" 4 ) \
( LpatSolid FpatSolid "yellow" 1 PointTri "yellow" 4 ) \
( LpatSolid FpatHorizStripe "magenta" 1 PointBox "magenta" 4 ) \
( LpatSolid Fpat25Percent "cyan" 1 PointDiamond "cyan" 4 ) \
( LpatSolid FpatVertStripe "#6699ff" 1 PointStar "#6699ff" 4 ) \
( LpatSolid FpatDiagHatched "#ff9900" 1 PointCircle "#ff9900" 4 ) \
( LpatSolid Fpat45Stripe "#33cc99" 1 PointSquare "#33cc99" 4 ) \
( LpatSolid FpatCrossHatched "#cc3333" 1 PointCross "#cc3333" 4 ))
For further information on resource files and their usage, please see your Xt Intrinsics documentation.
Performance Manager supports two additional monitoring methods:
The following UNIX commands are provided for command-line access to the metrics servers:
Note: The getbulk command uses the SNMPv1 extensions and requires that you access the metrics servers via their private SNMP request ports rather than the well-known SNMP request port. The port to be used is specified by the environment variable PMGR_SNMP_PORT. The appropriate port numbers should be listed in the /etc/services file on the management station.
The following example shows how to query pmgrd using the getmany command:
% getmany alfred public pm pmCmSysProcessorType.0 = alpha(2) pmCmSysOperatingSystem.0 = digital-unix(2) pmCmSysOSMajorVersion.0 = 3 pmCmSysOSMinorVersion.0 = 2 pmCmSysPageSize.0 = 8192 pmCmSysNumCpusOnline.0 = 2 pmCmSysPhysMem.0 = 262136 pmCmSysPhysMemUsed.0 = 56328 pmCmSysUpTime.0 = 88677120 pmCmSysDate.0 = 7.204.1.17.17.58.57.0.-.8.0 pmCmSysNumUsers.0 = 14 pmCmSysProcesses.0 = 81 . . . pmAoVmSwapInUse.0 = 57160 pmAoVmSwapDefault.0 = /dev/re3c pmAoVmSiIndex.1 = 1 pmAoVmSiPartition.1 = /dev/re3c pmAoVmSiPagesAllocated.1 = 256896 pmAoVmSiPagesInUse.1 = 7145 pmAoVmSiPagesFree.1 = 249751 pmAoBcReadHits.0 = 21761200 pmAoBcReadMisses.0 = 78356 pmAoIfEthIndex.1 = 1 pmAoIfEthName.1 = tu0 pmAoIfEthCollisions.1 = 13064347 End of MIB.
You can also use SNMP Network Management Systems (NMS) to access Performance Manager's metrics servers. Examples of available systems include:
Commercially Available | Freely Available |
---|---|
DIGITAL NetView | scotty/tkined |
IBM NetView/6000 | |
HP OpenView | |
SunNet Manager |
The following information is taken from the file /usr/opt/pm/nms/README.nms
Use the following procedure to install and use NetView
To install and uninstall NetView support:
To make NetView aware of the MIB variables provided by PM's metrics servers, it is necessary to load their associated MIB files into NetView. This is done using the Options Load/Unload MIBs: SNMP... menu item. The MIB files for PM's metrics servers are listed below, with the metric server name followed by the NetView-loadable MIB file:
Once you have loaded Performance Manager's MIB files you should be able to browse them using the NetView MIB browser. Note that MIB browsers that were opened prior to loading new MIB will not reflect the additional MIB information so you will have to open new ones to get the changes.
Performance Manager's MIB are found under .iso.org.dec.
The string dec appears in at least two places in the OSI naming tree; iso.org.dod.internet.private.enterprises.dec is another well known place). In the NetView browser, click Up Tree until you reach org and then go down dec to find the PM MIB variables.
If you are running the DIGITAL UNIX extensible agent ( snmpd) shipped with DIGITAL UNIX 3.2D (and later), you do not require this section as you are able to access Performance Manager's agents via the SNMP port (UDP/161). The snmpd forwards relevant requests to Performance Manager's agents using the eSNMP subagent supported by Performance Manager's agents.
Use Options SNMP Configuration... menu item. Earlier versions of NetView had a bug in the facility to specify alternate UDP port numbers. The bug was apparently caused by a byte-ordering problem on the UDP port number variable. The following table provides the work around if you are using a version of NetView with this bug. NetView versions 4.0 and earlier are known to have this problem.
1161 | 35076 |
36100 | |
161 | 41216 |
The script trapsend-example found in this directory is an example of a script that periodically monitors the value of a variable against a threshold value. Upon crossing the threshold value, it sends a trap to NetView. As described in the KNOWN BUGS section of trapsend(1), the script takes care of temporarily setting and then unsetting SR_MGR_CONF_DIR. The Performance Manager kit installation sets up the mgr.cnf and snmpinfo.dat in the /etc/srconf/agt directory.
The script assumes that you are running the extensible SNMP agent ( snmpd) that is shipped with DIGITAL UNIX version 3.2D (and later versions).
The following sample PNV applications are shipped with this kit. They are installed by PMGR_NetView_Setup and may be accessed from the Monitor-Performance Manager NetView menu.
Go to Main | Go to Previous | Go to Next |