Administer > Administer SNMP Traps > Blocking Trap Storms using the hosted-on-trapstorm.conf File

Blocking Trap Storms using the hosted-object-trapstorm.conf File

NNMi includes a way to block trap storms from hosted-on devices (including interfaces).

  1. Run the nnmtrapconfig.ovpl script. Include the appropriate values for -hostedOnTrapstorm and -hostedOnThreshold, as described in the nnmtrapconfig.ovpl reference page or the Linux manpage, to configure the trap service. Use the -setProp parameter to reconfigure the trap server to reflect the property changes.
  2. Optionally, to change any out-of-the-box configurations, edit the following file:

    • Windows: %NnmDataDir%\shared\nnm\conf\hosted-object-trapstorm.conf
    • Linux: $NnmDataDir/shared/nnm/conf/hosted-object-trapstorm.conf

    Make changes per the format described in the hosted-object-trapstorm.conf reference page, or the Linux manpage.

  3. If you made changes to the hosted-object-trapstorm.conf file, you must run nnmtrapconfig.ovpl -stop followed by nnmtrapconfig.ovpl -start to restart the trap service. See the nnmtrapconfig.ovpl reference page or the Linux manpage for more information.

    When making file changes under High Availability (HA), you need to make the changes on both nodes in the cluster. For NNMi using HA configurations, if the change requires you to stop and restart the NNMi management server, you must put the nodes in maintenance mode before running the ovstop and ovstart commands.