SNMP Trap Trigger
Description
Launches a task when a SNMP (Simple Network Management Protocol) trap is received. A trap is a message sent by an agent to a management system indicating that an event has occurred on the host running the agent. This trigger accepts filters which can be specified to monitor for specific traps.
Practical usage
Used to integrate tasks with other network systems management software.
Parameters
General
Property | Type | Description |
---|---|---|
Agent IP address | Options | Indicates
the type of SNMP trap the trigger should react to. The available
options are:
|
IP range start | Number | The starting IP address within the range of acceptable IP addresses. The trigger will act on SNMP traps received from IP addresses that fall between the IP Range Start and IP Range End values. This parameter is active only if the Agent IP address parameter is set to a specific host. |
IP range end |
Number |
The ending IP address within the range of acceptable IP addresses. The trigger will act on SNMP traps received from IP addresses that fall between the IP Range Start and IP Range End values. This parameter is active only if the Agent IP address parameter is set to a specific host. |
Community | Options | Indicates
which SNMP trap the trigger should react to in relation to the
community it originated from. The available options are:
|
Specific Community | Text | The specific community that the trap must originate from in order to trigger the task. This parameter is active only if the Community parameter is set to Specific. |
Enterprise OID | Options | Indicates
which SNMP trap the trigger should react to in relation to the
enterprise OID it originated from. The available options are:
|
Specific enterprise OID | Text | The enterprise OID that the trap must originate from in order to trigger the task. To display the value, click the Translate button. This parameter is active only if the Enterprise OID parameter is set to Specific. |
Trap generic type | Options | Denotes
selection of a specific trap intended for a generic type to filter.
The available options are:
|
Trap type code | Options | Indicates
which SNMP trap the trigger should react to in relation to the
code it originated from. The available options are:
|
Trap specific type code | Text | The trap code that the trap must originate from in order to trigger the task. This parameter is active only if the Trap type code parameter is set to Specific. |
Use string notation for OID | Text | If enabled, specifies that string notation is used for object identifiers (enabled by default). |
Use string notation for timetick values | Yes/No | If selected, specifies that string notation is used for timetick values (selected by default). |
Authentication
Property | Type | Description |
---|---|---|
Accept authenticated traps from these users | Text | Specifies the users in which
to accept authenticated traps. Click the Click
here to add new item link to add a new item. The available
values are:
|
Accept unauthenticated Version 3 traps | Yes/No | If selected, unauthenticated version 3 traps will be accepted (disabled by default). |
Behavior
Property | Type | Description |
---|---|---|
Enable trigger | Yes/No | If selected, specifies that the trigger is operational and will react to any trigger events that occur. If disabled, specifies that the trigger is inactive and will not react to any trigger events (selected by default). |
Trigger after the condition has been met | Number | If enabled, specifies how many times the monitored event must be met before the task is started (enabled by default). |
Additional notes
AMTrigger
When this trigger is activated, it automatically passes the AMTrigger object to the task. AMTrigger is a standard Automate Desktop dataset and can be used much like the datasets created by the Database - SQL query activity and Email action. The fields of AMTrigger can be used within a task to determine specific values, such as whether or not the task was started by a trigger, which trigger started the task, when the trigger was activated and other properties. AMTrigger populates a unique set of field–value pairs for each Automate Desktop trigger. The following table lists the ones specific to this trigger. For more details about a specific AMTrigger field–value pair, click the associated link.
Name | Data Type | Return Value |
---|---|---|
AMTrigger.BindingVarNumber | Number | Returns the total number of variables that were sent with the SNMP trap. |
AMTrigger.Community | String | Returns the community specified in the SNMP trap when the task was triggered. |
AMTrigger.GenericType | String | Returns the generic type for the SNMP trap when the task was triggered. |
AMTrigger.Host | String | Returns the host specified in the SNMP trap when the task was triggered. |
AMTrigger.SpecificType | String | Returns the specific type for the SNMP trap that triggered the task. |
AMTrigger.TimeStamp | String | Returns the timestamp specified in the SNMP trap when the task was triggered. |
AMTrigger.VarName[i] | String | Returns the associated variable name that was sent with the SNMP trap. Use AMTrigger.BindingVarNumber to find the total number of available variables. To use this property, simply append the number to the end if the property name - it is not an array. (Example %AMTrigger.VarName2%) |
AMTrigger.VarSyntax[i] | String | Returns the associated variable syntax (such as integer) that was sent with the SNMP trap. Use AMTrigger.BindingVarNumber to find the total number of available variables. To use this property, simply append the number to the end if the property name - it is not an array. (Example: %AMTrigger.VarSyntax2%) |
AMTrigger.VarValue[i] | String | Returns the associated variable value that was sent with the SNMP trap. Use AMTrigger.BindingVarNumber to find the total number of available variables. To use this property, simply append the number to the end if the property name - it is not an array. (Example: %AMTrigger.VarValue2%) |