Automation Orchestrator can act as an SNMP listener. You can start and stop the SNMP trap host, and change the port on which Automation Orchestrator listens for SNMP traps.

The SNMP plug-in supports SNMPv1 and SNMPv2c traps.
Important: When using a clustered Automation Orchestrator deployment, you must send the SNMP trap to all nodes in the cluster.

Trap Host Management Workflows

The Trap Host Management workflow category contains workflows that allow you to manage the SNMP trap host.

To access these workflows in the Automation Orchestrator Client, navigate to Library > Workflows and enter the snmp and trap_host_management tags in the workflow search box.

Workflow Name Description
Set the SNMP trap port Sets the port on which Automation Orchestrator listens for SNMP traps.
Start the trap host Automation Orchestrator starts listening for SNMP traps.
Stop the trap host Automation Orchestrator stops listening for SNMP traps.

Add a SNMP trap port to the Automation Orchestrator Appliance

Before running the Set the SNMP trap port workflow, you must add the port to the Automation Orchestrator Appliance.

Procedure

  1. Log in to the Automation Orchestrator Appliance command line as root.
  2. Create a variable for the SNMP trap port.
    SNMP_PORT=port_value
    Note: The ports open for SNMP traps are 81 to 32767.
  3. Run the vracli network ports expose command.
    vracli network ports expose --proto udp --targetPort $SNMP_PORT $SNMP_PORT vco-app
    

Set the SNMP Trap Port

You can run a workflow to set the port on which Automation Orchestrator listens for SNMP traps.

The default port for SNMP traps is 162. On Linux systems, you can open ports below 1024 only with superuser privileges. The ports open for SNMP traps are 81 to 32767.

Prerequisites

Procedure

  1. Log in to the Automation Orchestrator Client as an administrator.
  2. Navigate to Library > Workflows and enter the snmp and trap_host_management tags in the workflow search box.
  3. Run the Set the SNMP trap port workflow.
  4. Enter the port number on which Automation Orchestrator listens for SNMP traps.
  5. Click Run.

Results

The workflow stops the trap host, sets the new port, and starts the trap host again.
Note: If you upgrade your Automation Orchestrator environment, you must run the Automation Orchestrator Appliance and the Set the SNMP trap port workflow again.