36.2 Configuring Traps Using Trap Configuration Page

Following are the tasks you can perform on the Trap Configuration Management Console using Trap Configuration page:

36.2.1 Enabling and Disabling the Traps

The Trap Configuration feature allows you to enable/disable Trap or a set of Traps. If you are accessing the Trap configuration of a NetWare server, the current configuration of a NetWare server is displayed; however if you are accessing the segment or atlas level, the default profile is displayed where Critical and Major Traps are enabled and Minor and Informational Traps are disabled.

To enable/disable the Traps:

  1. In ConsoleOne, right-click the object under a Site Server object, then click Actions, then click Trap Configuration.

  2. Select an option next to a Trap which you want to enable. When you select a row, the corresponding description is displayed in the bottom of the Trap Configuration dialog box.

    You disable a Trap by deselecting the option.

NOTE:You must select the NetWare server where you want to enable or disable a Trap. For more details on selecting a NetWare server, refer to Section 36.2.3, Selecting NetWare Servers to Apply a Trap Configuration

36.2.2 Changing the Interval of a Trap

Trap Configuration allows you to change the Trap interval. An interval indicates the duration before the same Trap is generated again. Controlling the interval allows you to eliminate excess server traffic.

  1. In ConsoleOne, right-click the object under a Site Server object, then click Actions, then click Trap Configuration.

  2. Select a Trap for which you want to change the interval.

  3. Double-click Interval.

  4. Change the interval value according to your requirements.

    NOTE:You can also change the Trap interval by using command line options. For more details on using command line options, refer to Section 36.2.5, Using the Command Line Option

36.2.3 Selecting NetWare Servers to Apply a Trap Configuration

You need to select a NetWare server or a set of NetWare servers to apply a configuration on it.

  1. In ConsoleOne, right-click the object under a Site Server object, then click Actions, then click Trap Configuration.

  2. Click Select Agents.

  3. In Select Node View dialog box, click Add.

  4. In Select Object dialog box, select the NetWare servers on which you want to apply the configuration.

    NOTE:You can select more than one NetWare server by pressing Ctrl and selecting the servers you want to include.

    To remove NetWare server, select the agent from the Select Node View dialog box, then click Remove.

  5. Click OK. The IP address of the selected NetWare server is displayed in the Select Node View dialog box.

  6. Click OK, then click Apply.

    The selected Trap configuration is applied on the listed NetWare servers.

36.2.4 Viewing the Trap Configuration Status

  1. In ConsoleOne, right-click the object under a Site Server object, then click Actions, then click Trap Configuration.

  2. Click Show Status.

    The status of previous configuration operation is displayed in the Configuration Status dialog box.

NOTE:To refresh the status, click Refresh or Press F5. If you have selected multiple servers, Trap Configuration might take some time to refresh the status.

36.2.5 Using the Command Line Option

Trap Configuration allows you to specify a command to:

  • Enable/disable the Traps

  • Set up an interval for the Traps

You can use various operators like =, >, <, >=, <= to work with Trap commands. For example, if you want to enable all NetWare server Traps with an ID of more than 20, type following in the Trap Command field:

nwTrap enable ID>20

The following table lists and explains the text or string you can specify in the Trap Command field:

Text or String

Result

nwtrap enable all

Enables all NetWare traps.

nwtrap enable ID > 20

Enables all NetWare traps with an ID greater than 20.

nwtrap enable severity < critical

Enables those NetWare traps that have a severity that is less than Critical. You can also use numbers to represent a severity. For example, you can use 4 for Critical and 3 for Major.

nwtrap all interval 20

Sets the interval as 20 for all NetWare traps.

nwtrap 1-20 interval 10

Sets the interval as 10 for the first 20 traps.

nwtrap 1 2 3 interval 15

Sets the interval as 15 for the first three NetWare traps.

NOTE:In the above table, nwtrap stands for NetWare server Traps. You can use similar commands for Novell Directory Services Traps by using ndstrap instead of nwtrap. For example, ndstrap enable all enables all Novell Directory Services Traps.