Adapters Guide
Page
Adapters Guide
First Edition September
Contents
TECADNW4.NLM
OpenView Adapter
Appendix C. Class Definition
Vi IBM Tivoli Enterprise Console Adapters Guide
What This Guide Contains
Preface
Who Should Read This Guide
IBM Tivoli Enterprise Console Library
Publications
Prerequisite Publications
Related Publications
Providing Feedback about Publications
Accessing Publications Online
Contacting Customer Support
Conventions Used in this Guide
Monospace
Operating System-dependent Variables and Paths
Bold
Adapter Overview
Understanding Adapters
How Events Get Sent to the Event Server
How Events Get to the Event Server From an Endpoint
IBM Tivoli Enterprise Console Adapters Guide
How Events Get to the Event Server From a Non-TME Adapter
Internationalization Support for Events
How Events Get to the Event Server From a Managed Node
Event Attributes
Event Information
Administrator
Attribute Name Contents Acl
Adapterhost
Causedate
Chair
Attribute Name Contents Serverpath
12121212
Severity
Datereception Eventhandle Serverhandle
Adapter Files
Cache File
File Location
Configuration File
File Format
Example
AdapterCdsFile=path
AdapterErrorFile=path
BufEvtMaxSize
BufEvtPath
FilterMode
FilterCache
NOUTF8CONVERSION
ServerPort
ServerLocation
Adapter Type Format
EventServer
Set FilterMode to
Event Filtering
TestMode
Adapter Example
Event Buffer Filtering
Baroc File
Class Authenticationfailure ISA Event Defines
Set BufferEvents to YES
END
Format File
Rule File
Fetch IPNAME$SOURCEADDR MAP
Class Definition Statement File
Select
Error
Error File
Utils
Parser
Initial Files
Adapter Startup Errors
Troubleshooting Adapters
All Adapters
Managed Node Adapters
Non-TME Adapters
QTMETECA02
AS/400 Alert Adapter
QSYS.LIB/QUSRSYS.LIB/CFGALERT.FILE/ALRCFG.MBR
AdapterCdsFile
Endtecadp
Filter
Value is QTMETECA02/QYAAFTR
Fetch Statement Example
Select Statement Example
$ACTIONCODE
$ADAPTERCORREL
Configuring the AS/400 Alert Filters Default Alert Filter
FORCE*NO SEQ*FIFO
Integrating with an Existing Alert Filter
Starting the Adapter
Qsysopr *USE Public *EXCLUDE
Authorization
Arguments
Stopping the Adapter
Comments
Context
Cntrld
Immed
Endtecadp Evtadpalertadp
Endtecadp Evtadpmycfg OPTION*CNTRLD DELAY60
Examples
Events Listing
Event Class Default Event Severity
Event Class Structure
AS400TECALERTADAPTER
SNA4xxxPerformance
Alert Type Default Severity
Troubleshooting the AS/400 Adapter
TCP/IP Considerations
Logging Events in Test Mode
Starting an AS/400 Adapter after an IPL
Adding an Autostart Job to Qsyswrk
Qsecofr
Changing the AS/400 Startup Program
Multiple AS/400 Alert Adapters
Configuration File
Postemsg
QSYS.LIB/QUSRSYS.LIB/CFGMSG.FILE/MSGCFG.MBR
AS/400 Message Adapter
QSYS.LIB/QUSRSYS.LIB/CFGMSG.FILE/MSGCDS.MBR The CDS file
QSYS.LIB/QUSRSYS.LIB/CFGMSG.FILE/MSGBRC.MBR
QSYS.LIB/QUSRSYS.LIB/CFGMSG.FILE/MSGCDS.MBR
Select 1$MSGID=PNV
MAP Statement Example
ProcessExistingMsgs
Defer
$ALERTOPTION
Unattend
$DATACCSIDCONVERTSTATUS
$MSGFILELIBRARY
$MSGFILENAME
$MSGLIBRARYUSED
$MSGSEVERITY
$SENDTIME
$SENDPROGRAMNAME
$SENDUSERPROFILE
$SUBSOURCE
Starting the Adapter
Arguments EVTADPname
Flags
Stopping the Adapter
Option
Evtadp
Endtecadp Evtadpsysopr
Endtecadp Evtadpmyapp OPTION*CNTRLD DELAY60
Hostname
Event Class Default Severity
Subsource
Troubleshooting the AS/400 Adapter
Addaje Sbsdqsyswrk Jobtecamsgq JOBDQGPL/STARTADP
Done Return Chgvar VAR&CPYR VALUE&CPYR Endpgm
Using FTP to Execute AS/400 Commands
Multiple AS/400 Message Queues
IBM Tivoli Enterprise Console Adapters Guide
NetWare Log File Adapter Reference Information
NetWare Log File Adapter
Source
Prefiltering NetWare Events
EventId
Severity
PreFilterMode
PollInterval
PreFilter
Nwmsgversion
Attribute Source Subsource Default Value
Nwmsgid
Alertseverity
Alertclass
Alertlocus
Alertlocus NetWare Definition
Alertclass NetWare Definition
Following NetWare events are defined in the Baroc file
TECADNW4.NLM
Flags
Tecadnw4.nlm
Description
Examples
Troubleshooting the NetWare Log File Adapter
IBM Tivoli Enterprise Console Adapters Guide
OpenView Driver
OpenView Adapter
Reception of OpenView Messages
Determining the OpenView NNM Version
Event Correlation With NNM
Incoming Messages Format
Determining the OVsnmpEventOpen Filter Value
Testing Event Correlation With NNM
Testing Tools
Event Correlation Example
Adapter Files
WellBehavedDaemon
OpenView Event Example
HPOVFilter=filter
Object Identifier File
Starting and Stopping the Adapter
LRF File
Forwardingagent
Origin
Adapterhost
OVIFDeleted OVIFDescrChg
OpenView Traps
OpenView Traps Snmp Traps
Node Marginal
50790400
Troubleshooting the OpenView Adapter
IBM Tivoli Enterprise Console Adapters Guide
Tecuninstal.cmd
OS/2 Adapter
UnmatchLog
Numeric Value Literal Value
Source OS2 Subsource OS2
Event Class
Troubleshooting the OS/2 Adapter
Snmp Adapter
Server Configuration
Snmp Driver
Reception of Snmp Messages
AdapterSpecificFile=path
Snmp Event Example
Name object identifier
Warm Start
Cold Start
CBT
Event Class Event Severity
Enterprise-specific Traps
Rules Listing
Snmp Traps Generic Traps
Tecadsnmp.baroc Tecadsnmp.cds Tecadsnmp.oid
Creating a New Snmp Trap Event
Baroc File Changes
Begin Imports
Agent-independent Data
OBJECT-TYPE From RFC-1212 TRAP-TYPE From RFC1215
Description
Status optional
$SPECIFIC=1
Class Definition Statement File Changes
Object Identifier File Changes
Troubleshooting the Snmp Adapter
Tecclass
END Tecclass
Cconfigurationfile
Example
IBM Tivoli Enterprise Console Gateways
Controlling Event Traffic at the Gateway
120 ÷ 2 =
Worksheets and Calculations
Event Send Adjusted EventSendThreshold BufferFlushRate
Unix
Microsoft Windows
GatewayAckInterval
Tec/gatewaycache@EventServer#tmr-central
GatewayQueueSize
GatewayTMEAckEnabled
GatewaySendInterval
MaxGWCacheSizeMegs
IBM Tivoli Enterprise Console Adapters Guide
Unix Log File Adapter
Event Server Configuration
Init.tecadlogfile -s start stop AdapterID
Running Multiple Unix Log File Adapters
Tecadlogfile.cfg
Logdefault.rls
Init.tecadlogfile
Logfilegencds
Hostname hostname
Nfsok Harmless
OservGracefulExit
Nisok Harmless
Nfsok Nisok
Default Rules
LogfileAmd LogfileCron LogfileOserv LogfileDateSet
Troubleshooting the Unix Log File Adapter
IBM Tivoli Enterprise Console Adapters Guide
Windows Event Log Adapter
Tecadwin.baroc
Default
HostnameIsAdapterHost
English
NumEventsToCatchUp
Wineventlogs
SpaceReplacement
Prefiltering Windows Log Events
EventType
ApplicationEventsProcessed
Registry Variables
ApplicationEventsProcessedTimeStamp
DirectoryEventsProcessed
DNSEventsProcessed
DirectoryEventsProcessedTimeStamp
DNSEventsProcessedTimeStamp
FileReplicationEventsProcessed
Low Memory Registry Variables
Type in System in the Set Login Names dialog
Adapter Administrator Roles for Windows
Select Create Administrators from the Administrators icon
Event Class Severity
Source NT Subsource Hostname
Ntsnmp
Tecadwin Command
Tecadwin
Tecadwin.exe -d-c ConfigFile -L none EventLog
Authorization none Arguments
Troubleshooting the Windows Event Log Adapter
IBM Tivoli Enterprise Console Adapters Guide
127
Windows NT Event Log Adapter
Tecadnt.err Error file
HKEYLOCALMACHINE\SYSTEM\
CurrentControlSet\Services\ TECNTAdapter\
Prefiltering Windows NT Log Events
Format File
Non-English Format Files
ApplicationEventsProcessedTimeStamp
Adapter Administrator Roles for Windows NT
Net start TECNTAdapter
Event Class Default Severity
Tecadnt Command
Tecadnt
Tecadnt.exe -d-c ConfigFile -L none EventLog