Send trap action
- Updated: 2023/02/09
Send trap action
Use the Send trap action in the SNMP package to send messages to the SNMP manager from an SNMP agent. These messages are sent by an SNMP agent whenever certain events occur, such as a system restart.
Procedure
- In the Actions palette, double-click or drag the Send trap action from the SNMP package.
- In the Agent field, enter details of the device on which the SNMP agent is available.
-
Click the SNMP Version drop-down menu to select one of
the following options to specify the SNMP version that
must be used:
Option Action V1 Specify the community string you want to use in the Community field. V2C Specify the community string you want to use in the Community field. V3 Specify the community string you want to use in the Community field. Click the Authentication level drop-down menu to specify one of the following level of authentication:
- None: Authentication will not be used.
-
Authentication Only: Enables you to use
authentication only.
- Select MD5 or SHA from the Authentication method list to specify the authentication method you want to use.
- In the Password field, click one
of the following tabs:
-
Credential: To use a
value from the Credential Vault.
(Optional) Click Pick to choose a credential.
- Variable: To use a credential variable.
- Insecure string: To manually specify the value you want to use.
-
Credential: To use a
value from the Credential Vault.
-
Authentication and privacy: Enables you
to use authentication and privacy.
- Select MD5 or SHA from the Authentication method list to specify the authentication method you want to use.
- In the Password field, click one
of the following tabs:
-
Credential: To use a
value from the Credential Vault.
(Optional) Click Pick to choose a credential.
- Variable: To use a credential variable.
- Insecure string: To manually specify the value you want to use.
-
Credential: To use a
value from the Credential Vault.
- Click Privacy method drop-down menu and select DES or AES to specify the privacy method you want to use.
- In the Private key field, click
one of the following tabs:
-
Credential: To use a
value from the Credential Vault.
(Optional) Click Pick to choose a credential.
- Variable: To use a credential variable.
- Insecure string: To manually specify the value you want to use.
-
Credential: To use a
value from the Credential Vault.
- In the Object ID field, specify the ID of the object for which you want to retrieve details.
- Optional:
In the Authorative ID field, specify the ID of the SNMP manager that will receive the
notification.
Important: If you have selected V3 from the SNMP Version list, you must provide a value for Authorative ID.
-
Select an option from the Select trap type list to
specify the type of trap you want to send.
- Cold start: Occurs when the SNMP agent initializes its configuration tables.
- Warm start: Occurs when the SNMP agent reinitializes its configuration tables.
- Link down: Occurs when the state of a network adapter on the SNMP agent changes from up to down.
- Link up: Occurs when the state of a network adapter on the SNMP agent changes from down to up.
- Authentication fail: Occurs when the SNMP agent receives a message from an SNMP manager with an invalid community name.
- EGP neighbour loss: Occurs when the SNMP agent cannot communicate with its Exterior Gateway Protocol (EGP) peer.
- Enterprise specific: Occurs when specific error conditions and error codes are defined in the system. The user provides a trap-specific number for this option.
-
Click the SNMP advanced options drop-down menu and enter
the values in the following fields:
- Timeout(ms): Specify the time (in milliseconds) for the action to wait before generating an error.
- Remote port: Specify the port number of the remote device.
- Retries: Specify the maximum number of times the action must try to retrieve the details.
-
In the Log file field, click one of the following
tabs:
-
Control Room file: To select a file that is
available on the Control Room to store the
result.
Click Choose to select a file.
-
Desktop file: To select a file that is available
on a device to store the result.
Click Browse to locate and select a file.
- Variable: To select a variable by specifying the file location that you want to use to store the result.
-
Control Room file: To select a file that is
available on the Control Room to store the
result.
- Click Save.