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;
Содержание T9576G06
Страница 24: ...Contents SNMP Configuration and Management Manual 424777 006 xxii Tables continued ...
Страница 36: ...About This Manual SNMP Configuration and Management Manual 424777 006 xxxiv Change Bar Notation ...
Страница 38: ...Part I Installing and Configuring SNMP SNMP Configuration and Management Manual 424777 006 ...
Страница 140: ...Part II SCF for the SNMP Agent SNMP Configuration and Management Manual 424777 006 ...
Страница 208: ...Part III Troubleshooting SNMP Configuration and Management Manual 424777 006 ...
Страница 230: ...Part IV SNMP Subagents SNMP Configuration and Management Manual 424777 006 ...
Страница 340: ...TCP IP Subagent SNMP Configuration and Management Manual 424777 006 8 110 Converting Events to Traps ...
Страница 562: ...Trap Multiplexer Subagent Manager SNMP Configuration and Management Manual 424777 006 12 70 Application Source Code ...
Страница 636: ...IPX SPX Subagent G Series SNMP Configuration and Management Manual 424777 006 13 74 1012 ZISA EVT PROCESS TRAPPED ...
Страница 704: ...Part V Appendices SNMP Configuration and Management Manual 424777 006 ...
Страница 778: ...Index SNMP Configuration and Management Manual 424777 006 Index 32 Special Characters ...