Knowledge Base > SNMP Support > MIB > Generated SNMP Traps

Generated SNMP Traps

SNMP Traps with fixed trap codes are generated by AE so that the management system actively informs about status changes or special conditions of AE. In addition to the Trap, the Automation Engine for Windows can generate an event which is displayed in the application log of the Windows Event Viewer. This requires the parameter snmp=2 to be set in the AE INI file. 

Overview of Traps

Trap Code

Description

3400

Automation Engine started

3401

Automation Engine terminated

3410

Automation Engine ended abnormally

3536

Serious error when accessing the AE databaseA database is an organized collection of data including relevant data structures.. Access no longer possible.

3538

Connection to the AE database re-established

11603

Shutting down an agent

11604

Cold start of an agent

11622

Warm start of an agent

11650

Connection to an agent disconnected

11652

SAP agent not longer connected to SAP system

11662

SAP agent is reconnected to SAP system

11801

System error of the Automation Engine

11818

Primary server has changed

801450

Message of a notification

xxxxxx

User-defined SNMP Traps

Description of Traps

The individual SNMP Traps and their parameters are described below.

Trap Code

3400

Description

Automation Engine started

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"

AgentWorkInteger1

Status of the Automation Engine:
1 = running

AgentWorkInteger2

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap Code

3401

Description

End of a work of dialog process (regardless of the reason) or normal end of the primary work process

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"

AgentWorkInteger1

Status of the Automation Engine:
2 = Ended normally

AgentWorkInteger2

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap Code

3410

Description

Primary work process (PWP) ended abnormally

Note

In addition to the Trap, an event is always generated in the application log of the Windows Event Viewer. This entry to the application log is even made when snmp=2 has been defined.

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"

AgentWorkInteger1

Status of the Automation Engine:
2 = Signal for abnormal end received
3 = any other abnormal termination

AgentWorkInteger2

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap Code

3536

Description

Serious error when accessing the AE database. Access no longer possible.

Note

This Trap is sent every 10 seconds until the database re-connects.

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"

AgentWorkString1

Error text of the ODBC driver

 

Trap Code

3538

Description

Connection to AE database re-established

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"

 

Trap Code

11603

Description

Shutting down an agent

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of AE the system"."Name of the Automation Engine"."Name of the agent"."Type of the agent"

AgentWorkString1

Name of the agent

AgentWorkInteger1

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap Code

11604

Description

Cold start of an agent

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"."Name of the agent"."Type of the agent"

AgentWorkString1

Name of the agent

AgentWorkInteger1

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap Code

11622

Description

Warm start of an agent

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of AE the server"."Name of the agent"."Type of the agent"

AgentWorkString1

Name of the agent

 

Trap-Code

11650

Description

Ends connection to an agent

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"."Name of the agent"."Type of the agent"

AgentWorkString1

Name of the agent

AgentWorkInteger1

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap-Code

11652

Description

SAP agent not longer connected to SAP system

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"."Name of the agent"."Type of the agent"

AgentWorkString1

Name of the agent

AgentWorkInteger1

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap-Code

11662

Description

SAP agent reconnected to SAP system

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Name of the Automation Engine"."Name of the agent"."Type of the agent"

AgentWorkString1

Name of the agent

AgentWorkInteger1

Run mode of the Automation Engine:
1 = Primary
3 = Normal
4 = Communication process

 

Trap Code

11801

Description

System error of the Automation Engine

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of AE system"."Name of the Automation Engine"."Name of  the kernel function"

AgentWorkString1

Text of the error message

AgentWorkInteger1

Number of the error message

 

Trap-Code

11818

Description

Primary Server has changed

Note

Note

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of AE system"."Name of the Automation Engine"

AgentWorkInteger1

Previous mode

AgentWorkInteger2

New mode

 

Trap Code

801450

Description

Message of a notification

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system"."Client"."RunID"

AgentWorkString1

Name of the notification

AgentWorkString2

Message text of the notification

AgentWorkInteger1

Status of the notification (as in the message file UC.MSL):
1542 = Calling
1553 = Accepted
1556 = Escalated
1800 = ENDED_NOT_OK - Aborted
1850 = ENDED_CANCEL - Canceled.
1852 = Rejected
1856 = ENDED_ESCALATED - Aborted by Escalation.
1900 = ENDED_OK - Ended normally.
1901 = Confirmed

Aside from the SNMP Traps generated by the system, user-defined Traps can be generated with the script statement  :SEND_SNMP_TRAP. Trap codes generated by AE and the AE.Connect for HP OpenView NNM (Trap codes: 10000 - 10010) cannot be used as user-defined SNMP Traps!

Trap Code

xxxxxx

Description

User-defined SNMP Traps

AgentWorkSysID

Name of the AE system

AgentWorkObject

"Name of the AE system". "Name of the Automation Engine"

AgentWorkString1

User-defined

AgentWorkString2

User-defined

AgentWorkString3

User-defined

AgentWorkString4

User-defined

AgentWorkString5

User-defined

AgentWorkInteger1

User-defined

AgentWorkInteger2

User-defined

AgentWorkInteger3

User-defined

AgentWorkInteger4

User-defined

AgentWorkInteger5

User-defined