44.2 Setting Up SNMP Trap Reporting

If you have a management console to collect SNMP traps, you can have Application Launcher send SNMP traps to the management console. ZENworks Server Management includes a management console you can use to collect SNMP traps. For information, see Management and Monitoring Services in the Novell ZENworks 7 Server Management Administration Guide.

To set up SNMP trap reporting, you need to complete the following tasks:

44.2.1 Enabling Firewall Access

For SNMP traps to be sent from workstations to your management console, you need to ensure that there are no firewalls between the workstations and the management console that filter UDP or TCP on port 161. This includes both personal firewalls on the user workstations and network firewalls.

44.2.2 Enabling the SNMP Trap Targets Policy

Before Application Management can use SNMP traps for event reporting, you need to:

  • In ConsoleOne, activate an SNMP Trap Targets policy in a Service Location Package. The SNMP Trap Targets policy simply points to the IP address (or addresses) of the management console that displays the traps. A Service Location Package can have only one SNMP Trap Targets policy. If you haven't created a Service Location Package, or if your current packages' SNMP Trap Targets policies are being used for other databases, you need to create a new Service Location Package. Instructions are provided in the steps below.

  • Associate the Service Location Package with the containers where the users or workstations reside that you want the SNMP Trap Targets policy applied to. This association is how Application Launcher knows which SNMP trap target to use when reporting events for the users or workstations.

To activate an SNMP Trap Targets policy and associate it with containers:

  1. In ConsoleOne, right-click the Service Location Package you want to use, then click Properties.

    or

    If you do not have a Service Location Package, right-click the container where you want to create one, click New, then click Policy package. Follow the instructions provided in the Policy Package Wizard to create a Service Location Package.

    General Policies page
  2. On the General page, select the box in the Enabled column to enable the SNMP Trap Targets Policy.

  3. Select the policy in the list, then click Properties to display the SNMP Trap Targets list.

    SNMP Trap Policy page
  4. Click Add to display the SNMP Target dialog box, specify the IP address of the workstation or server where the management console is running, then click OK to add the IP address to the list.

  5. Repeat Step 4 to add additional targets.

  6. When you've finished adding targets, click OK to return to the General page.

  7. Click Associations to display the Associations page.

    Service Location Package Associations page

    You use this page to associate the Service Location Package with the containers where the users or workstations reside that you want the SNMP Trap Targets policy applied to. If a parent container includes several containers where User and Workstation objects reside, you can select the parent container rather than each individual container.

  8. Click Add, browse for and select the container you want to add, then click OK to add it to the list.

  9. Repeat Step 8 to add additional containers.

  10. When you've finished adding containers, click OK to save the information.

When ZENworks Workstation Manager enforces the SNMP Trap Targets policy on a user’s workstation, it adds the SNMP trap targets as values on the following registry key:

HKCU\Software\NetWare\NAL\1.0\Reporting\tree_name\TrapTargets\User

If events are not being sent to the SNMP management console, you should verify that the trap targets have been added to the registry.

44.2.3 Configuring Application Objects to Use SNMP Trap Reporting

After you've enabled the SNMP Trap Targets policy and have your management console running, you can start configuring Application objects to use SNMP trap reporting. Because event reporting is configured on a per-application basis, you can choose which applications you want to collect event reports for and which ones you don't.

For detailed instructions about configuring an application to use SNMP trap reporting, database reporting, or log file reporting, see Section 44.5, Configuring Applications to Use Reporting.