Previous Topic: Example: Alerting CA Spectrum of Configuration ChangesNext Topic: Track the Alert Job Progress


Send SNMPv2 Traps to CA Spectrum

The following example shows how to create an alert that notifies CA Spectrum of configuration changes with SNMPv2 traps.

To send SNMPv2 traps to CA Spectrum

  1. Open the Alert Scheduling wizard.
    1. Click the Alert Management tab and the Alert Scheduling subtab.
    2. Click the Schedule an Action Alert button.
  2. Complete the Alert Selection step.
    1. Type a job name; this is required for any alert.
    2. Verify selection type is Queries.

      Selection of SNMP trap destinations is not allowed for alerts based on tags.

    3. If the queries you want to select are tagged Action Alerts, click the Action Alerts tag to filter the displayed list.
    4. Select the query or queries you identified.

      Select queries for the alert

  3. (Optional) Complete the Alert Filters, Result Conditions, and Schedule Jobs steps as documented in the online help for this wizard.
  4. Set the SNMP trap details.
    1. Click the Destination step.
    2. Click the SNMP Trap tab.

      The configured SNMP Trap destination and the queries selected in step 1 of the wizard appear.

    configured destination appears by default with all selected queries

    Note: By default, the SpectroSERVER listens on the standard SNMP trap port 162. If changed, the port must match the snmp_trap_port parameter in the SPECTRUM .vnmrc file located in the SS directory.

    1. (Optional). To send the trap to up to nine servers in addition to the configured destination server, click the Add button and enter the IP address and port of the server.
    2. For a query where you want all fields included in the trap, just select the query.

      All fields of a selected query are selected by default. The name of the selected query appears above the field list.

      Selecting a query selects all of its fields by default

    3. For a query where you want selected fields included in the trap, select the query and clear the fields that are not to be sent.

      Clear the fields of a selected query if there are any you want to suppress.

    4. Select the SNMP Version supported by the selected trap destination for traps received from applications.

      Note: Some trap destination accept Version 3 traps sent directly by devices, but only Version 2 traps from applications that collect events from devices. For this example, we accept Version 2.

  5. Select the server and specify whether the query should return results from just selected server(s) or from this server and all of its child (if hierarchical) or peer (if meshed) federated servers.
  6. Click Save and Close.

    The job appears on the Action Alert Jobs list. Unless you cleared the Enabled check box on the first step of the wizard, it is displayed as enabled (true in the Enabled column). An abbreviated example follows:

    The job is enabled by default