Performance Manager supports two additional monitoring methods:
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 commerically available systems include:
Note: The following information is taken from the file /usr/opt/pm/nms/README.nms
Once you have loaded Performance Manager's MIB files you should be able to browse them using the NetView MIB browser. Note that MIB browers 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(note that 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.
Note: 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 Polycenter 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. Following table provides the work around if you are using a version of NetView with this bug. Polycenter NetView versions 4.0 and earlier are known to have this problem.
INTENDED UDP PORT# | ACTUAL VALUE ENTERED |
---|---|
1161 | 35076 |
1165 | 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 Peformance Manager kit installation takes care of setting 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.
filename | files installed as |
---|---|
ovmib.PMGR_RunQueue | /usr/OV/registration/C/ovmib/PMGR_RunQueue |
ovmib.PMGR_RunQueue.help | /usr/OV/help/C/ovmib/OVW/Functions/PMGR_RunQueue |
ovmib.PMGR_SysInfo | /usr/OV/registration/C/ovmib/PMGR_SysInfo |
ovmib.PMGR_SysInfo.help | /usr/OV/help/C/ovmib/OVW/Functions/PMGR_SysInfo |
ovmib.PMGR_SwapConfig | /usr/OV/registration/C/ovmib/PMGR_SwapConfig |
mib.PMGR_SwapConfig.help | /usr/OV/help/C/ovmib/OVW/Functions/PMGR_SwapConfig |