Troubleshooting the SNMP Agent
SNMP Configuration and Management Manual — 424777-006
7 -3
Creating a Filter
messages or groups of messages of special interest. For example, you might want to
select all the messages sent by the SNMP agent and TCP/IP.
The filtered event stream can be viewed several ways:
•
Running a printing distributor. This distributor writes event messages to a printer or
other display device or to a file.
•
Using the operator console. You can read the event message on the designated
operator console controlled by the compatibility distributor ($Z0) or the console
used by the printing distributor.
•
Using the EMS trap subagents. These subagents, documented in
Section 9, EMS
Trap Subagent
, let you view EMS events as traps on an SNMP manager station.
This subsection provides an example showing how to create and use a filter that
selects messages generated by the SNMP agent and TCP/IP subsystem.
Section 3,
MIBs Supported by the SNMP Agent
, describes event messages generated by the
SNMP agent. For more information about EMS and event messages, refer to the
EMS
Manual
and the
Operator Messages Manua
.
Creating a Filter
The following filter selects all event messages reported by the SNMP agent and
TCP/IP on system \MYSYS:
== FILE: SNMPS
FILTER pass^SNMP^TCPIP^MSGS;
BEGIN
IF ZEMS^TKN^SYSTEM = [ #SYSTEMNUMBER \MYSYS] AND
((ZSPI^TKN^SSID = SSID(ZSMP^VAL^SSID)) OR
(ZSPI^TKN^SSID = SSID(ZTCI^VAL^SSID)) OR
(ZSPI^TKN^SSID = SSID(ZCMK^VAL^SSID)) THEN
PASS;
END;
Summary of Contents for T9576G06
Page 24: ...Contents SNMP Configuration and Management Manual 424777 006 xxii Tables continued ...
Page 38: ...Part I Installing and Configuring SNMP SNMP Configuration and Management Manual 424777 006 ...
Page 140: ...Part II SCF for the SNMP Agent SNMP Configuration and Management Manual 424777 006 ...
Page 208: ...Part III Troubleshooting SNMP Configuration and Management Manual 424777 006 ...
Page 230: ...Part IV SNMP Subagents SNMP Configuration and Management Manual 424777 006 ...
Page 704: ...Part V Appendices SNMP Configuration and Management Manual 424777 006 ...
Page 778: ...Index SNMP Configuration and Management Manual 424777 006 Index 32 Special Characters ...