HP Process Resource Manager User's Guide

Monitoring PRM through SNMP
Accessing PRM’s SNMP data
Appendix C 237
Accessing PRM’s SNMP data
You can access SNMP information through a command-line interface,
known as snmpwalk, and through a graphical user interface called
xnmbrowser. Using these utilities is described below.
Using OpenView’s snmpwalk
NOTE Secure sites may want to disable prmagt to avoid unwanted information
exchange. If prmagt is to be used, it is strongly recommended that it be
used only on a trusted internal network protected by firewalls and access
controls, due to known issues with the SNMP protocol.
To use snmpwalk to view the PRM data:
Step 1. If PRM’s SNMP agent is not already running, start it on each system
from which you want to view data:
# /opt/prm/bin/prmagt
If you need to stop the agent, use its -stop option.
You can have the agent automatically start at boot by setting the
PRM_SNMPAGT variable in the file /etc/rc.config.d/prm to 1:
PRM_SNMPAGT=1
Step 2. Run snmpwalk, giving an argument to indicate the desired information.
All information from that level and below is reported. Thus, the following
command displays all the data listed in Table C-1.
# /opt/OV/bin/snmpwalk \
hostname hp.hpSysMgt.hpUXSysMgt.hpPRM.prmReadOnly
*. The major sequence number indicates the number of times a configuration has
changed since the last reset.