EMS Trap Subagent
SNMP Configuration and Management Manual — 424777-006
9- 11
The Trap PDU
Example 9-3. Example TACL Macro for Starting EMS Trap Subagent
?tacl routine
==
== routine: MYMACRO
==
== synopsis: MYMACRO <SNMP-agent-process>
==
== example: MYMACRO $ZSNMP
==
== description: MYMACRO opens the SNMP agent process and
forwards
== from $0 as SNMP traps all EMS events that pass the filter
== MYFILTER
==
#frame
#push :agent^process
[#if [#argument /value :agent^process/ processname]]
[#if "[#deviceinfo /devicetype, subtype/ [:agent^process]]"
'<>' "31 30" |then|
#output expected the process name of an SNMP agent
#unframe
#return
]
[#if [#definedelete =_snmp_agent]]
add define =_snmp_agent, file [:agent^process].#trap
emsdist /nowait, name/ type printing, filter myfilter, &
collector $0, gmt on
#output EMS event subagent process started; process name is
[#process].
#output Type STOP [#process] to stop sending EMS events as
traps.
#pop :agent^process
[#if [#definedelete =_snmp_agent]]
#unframe
Содержание 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 ...