AMTrigger.GenericType

Syntax

%AMTrigger.GenericType%

Trigger supported

SNMP Trap

Type

String

Description

Returns the generic type for the SNMP trap when trigger occurred. Possible return values are as follows.

Name Description
ENTERPRISESPECIFIC An enterprise-specific event has occurred.
COLDSTART Reinitialization of the agent with alteration of configuration.
WARMSTART Reinitialization of the agent without alteration of configuration.
LINKDOWN Failure in one of the communication links.
LINKUP Restoration of one of the communication links.
AUTHENTICATIONFAILURE Reception of a protocol message not properly authenticated.
EGPNEIGHBORLOSS Loss of an EGP peer relationship of the EGP protocol.

Example

NOTE:
  • Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
  • To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.

Display the message "The SNMP Generic Type is %AMTrigger.GenericType%" in a message box.

Copy
<AMSHOWDIALOG MESSAGE="The SNMP Generic Type is %AMTrigger.GenericType%" />

Related Topics