Managing NerveCenter - Managing the NerveCenter Server - Managing the NerveCenter Trap Source -
Managing the NerveCenter Server      Working with NerveCenter Serial Numbers

Managing the NerveCenter Trap Source

During installation, you indicated which trap source, or trap engine, you wanted to use for capturing SNMP traps. You can later change this trap source. Keep in mind that neither MSTrap nor OVTrapD support SNMP v3.

See the following sections for more information:

Trap Source Overview

During installation, you indicated whether NerveCenter should be configured to support SNMP v3. Depending on your answer, your platform, and whether OpenView Network Node Manager is coresident on your system, your trap source is one of the following:

NerveCenter SNMP v3 Trap Sources

Platform OpenView Coresident OpenView Not Coresident

Windows

NerveCenter or
OVTrapD

NerveCenter
MSTrap


UNIX

NerveCenter or
OVTrapD

NerveCenter


When NerveCenter is your trap source, NerveCenter uses the port specified on the Ports tab for capturing traps. This value, SNMP Trap port, is 162 by default. If you want NerveCenter to capture traps, this port must be free for NerveCenter to capture the traps.

During installation, if you selected SNMP v3 support in NerveCenter, you were asked to disable MSTrap or OVTrapD service on your system so that the trap port (162) would be free for NerveCenter to use.

After installation, you can change the trap source in NerveCenter Administrator. Keep in mind that neither MSTrap nor OVTrapD support SNMP v3.

Following are the types of traps supported by the trap engines:

To manage SNMP v3 traps, you must use NerveCenter as a trap source.

Changing the SNMP Trap Source

When NerveCenter is your trap source, NerveCenter uses the port specified on the Ports tab for capturing traps. This value, SNMP Trap port, is 162 by default. If you want NerveCenter to capture traps, this port must be free for NerveCenter to capture the traps. This may require that you shut down MS Trap service and/or OVTrapD.

Follow the steps below to change the trap source used to process traps. The sequence is important because the current trap source has to release the port before the new trap source can use that port.

 
  To change the NerveCenter trap source:

  1. Open NerveCenter Administrator and connect to the appropriate Server.

    See Connecting Administrator to a NerveCenter Server on page 38.

  2. Select the Server tab.

    The Server page is displayed.

    AdminServerWin12

  3. Select the trap engine you want to use from the Trap Source drop-down listbox.
  4. Select Save.
  5. Shut down the NerveCenter Server.
  6. If applicable, stop the old trap service and then start the new one.

    Refer to the table below for details.

  7. Restart the NerveCenter Server.

The Changing the Trap Source summarizes what to do when changing the trap source.

Changing the Trap Source

Switching From Switching To Action To Take ...

OVTrapD

or

MS Trap

NerveCenter

Shut down OVTrapD and MS Trap service. If both are on your system, shut down both.

Disable the MS Trap Service.

If SNMP Trap port is other than 162 in NerveCenter, you don't need to shut down OVTrapd or MSTrap service.


NerveCenter

OVTrapD

Start OVTrapD.


NerveCenter

MS Trap

Start MS Trap service.

Disable the NerveCenter SNMP Trap service.


OVTrapD

MS Trap

Stop OVTrapD. Start MS Trap service.


MS Trap

OVTrapD

Stop MS Trap service. Start OVTrapD.


 
  To change from the NerveCenter Trap Service to MSTRAP:

  1. Select MSTRAP as your trap source.
    1. Open NerveCenter Administrator and connect to the appropriate Server.
    2. Select the Server tab.

      The Server tab displays.

    3. Select MSTRAP from the Trap Source drop-down listbox.
    4. Select Save.

      A dialog box displays stating Data saved successfully.

  2. Disconnect from the Server and shut down NerveCenter Administrator.
  3. Stop the following services in the order given:
    1. NerveCenter service
    2. NerveCenter SNMP service
  4. Set Startup type of the SNMP Trap Service to Automatic.

    Follow the instructions of To disable the MS Trap service:, except select Automatic instead of Disabled.

  5. Start the following service in the order given:
    1. SNMP Trap Service service
    2. NerveCenter SNMP service
    3. NerveCenter service

If you have snmputil installed, you can test that MS Trap service is receiving traps.

 
  To test MS Trap service is receiving traps:

  1. Run snmputil trap at a command prompt.

    The utility returns snmputil: listening for traps...

  2. Enter the following command:
       trapgen -v1 your_ip-address 1.3.6.1.4.78 your_ip-address 6 101 132

    snmputil should return the following text:


       Incoming Trap:
       generic = 6
       specific = 101
       enterprise = .iso.org.dod.internet.private.enterprises.78
       agent = your ip-address
       source IP = your ip-address
       community = public

    If the AllTraps_LogToFile alarm is enabled, the alltraps.log should contain the following lines.


       Time=10/22/2002 13:11:02 Tue; LogId=1; DestStateSev=Normal;
       NodePropertyGroup=NC
       DefaultGroup; NodeName=mycomputer; AlarmName=AllTraps_LogToFile;
       OrigState=Ground;
       TriggerName=allTraps; DestState=Logging; TrapPduTime=132;
       TrapPduGenericNumber=6
       ; TrapPduEnterprise=1.3.6.1.4.1.78; TrapPduSpecificNumber=101;
       TriggerInstance=;
       TriggerBaseObject=

 
  To change from the MSTRAP Service to NerveCenter Trap Service:

  1. Select NerveCenter as your trap source.
    1. Open NerveCenter Administrator and connect to the appropriate Server.

      For instructions, see Managing NerveCenter.

    2. Select the Server tab.

      The Server tab displays.

    3. Select NerveCenter from the Trap Source drop-down listbox.
    4. Select Save.

      A dialog box displays stating Data saved successfully.

  2. Disconnect from the Server and shut down NerveCenter Administrator.

    For instructions, see Managing NerveCenter.

  3. Stop the following services in the order given:
    1. NerveCenter service
    2. NerveCenter SNMP service
    3. SNMP Trap Service service
  4. Set Startup type of the SNMP Trap Service to Disabled.

    Follow the instructions of To disable the MS Trap service:.

  5. Start the following services in the order given:
    1. NerveCenter SNMP service
    2. NerveCenter service

You can test that the NerveCenter Trap service is running.

 
  To Test NerveCenter Trap service is receiving traps:

  1. Run traprcv in a command window.

    The utility returns Waiting for traps.

  2. Enter the following command:
       trapgen -v1 your_ip-address 1.3.6.1.4.78 your_ip-address 6 101 132

    traprcv should return the following text:


       Received SNMPv1 Trap:
       Community: public
       From: your ip-address:2057
       Enterprise: enterprises.7
       Agent-addr: your ip-address
       Enterprise Specific trap: 101
       Time Ticks: 132

    If the AllTraps_LogToFile alarm is enabled, the alltraps.log should contain the following lines.


       Time=10/22/2002 13:38:02 Tue; LogId=1; DestStateSev=Normal;
       NodePropertyGroup=NC
       DefaultGroup; NodeName=mycomputer; AlarmName=AllTraps_LogToFile;
       OrigState=Ground;
       TriggerName=allTraps; DestState=Logging; TrapPduTime=132;
       TrapPduGenericNumber=6
       ; TrapPduEnterprise=1.3.6.1.4.1.78; TrapPduSpecificNumber=101;
       TriggerInstance=;
       TriggerBaseObject=

 
  To disable the MS Trap service:

Windows 2000 Professional

  1. Open the Services control panel by selecting the following from the Start menu:

    Settings > Control Panel > Administrative Tools > Services

  2. Right-click on the SNMP Trap Service and select Properties from the menu.
  3. From the Startup Type listbox, select Disabled.
  4. Select OK.

Windows NT 4.0

  1. Open the Service control panel by selection the following from the Start menu:

    Settings > Control Panel > Services

  2. Select the SNMP Trap Service.
  3. Select Startup.
  4. Under Startup Type, select the Disabled radio button.
  5. Select OK.
  6. Select Close.


Managing the NerveCenter Server Working with NerveCenter Serial Numbers
29 July 2003