+

Search Tips   |   Advanced Search

(Dist) Generate Simple Network Management Protocol (SNMP) traps

We can generate Simple Network Management Protocol (SNMP) Version 1 traps for health events and dynamic cluster start and stop application server events.

Any standard SNMP management endpoint that is capable of receiving Version 1 traps can receive traps sent by Intelligent Management. See the documentation associated with your SNMP management endpoint for instructions on how to import the Management Information Base (MIB) file provided with Intelligent Management.

We can generate SNMP Version 1 traps for the following two types of events:

The precise events are defined by a MIB file in the WAS_HOME/etc/wvemib.txt file. Use this MIB file to import the events into your SNMP management endpoint.

Complete the following procedure to generate SNMP traps.


Tasks

  1. Configure the host name and an optional port of the SNMP management endpoint. Set the following custom property:

    1. In the administrative console, select System administration > Cell > Custom properties > New.

    2. Specify the name of the custom property as snmp.manager.

      We can also create multiple SNMP managers using the snmp.manager custom property. The property accepts comma separated values of <snmp manager host name>:<port>.

    3. Specify the value of the custom property as hostname[:port]. This is the host name and UDP port to which the SNMP traps are sent. The default port value is 162.

    For example, setting the value of the custom property to mySnmpManagerHost:162 indicates that SNMP Version 1 traps should be sent to UDP port 162 of the host named mySnmpManagerHost.

  2. Configure the product to send an SNMP trap for health policy violations. Create a new health policy and select the Generate an SNMP trap predefined health policy action as one of the actions to perform when the health policy is triggered. In the administrative console, select Operational policies > Health policies > New.

  3. Disable SNMP traps from being sent when the application controller starts or stops a member of a dynamic cluster.

    1. In the administrative console, select System administration > Cell > Custom properties > New.

    2. Specify the name of the custom property as snmp.disabledTraps.

    3. Specify the value of the custom property as dynamicClusterStartStopServer.

  4. Configure the SNMP community string. By default, the product sends an SNMP trap with a community string value equal to public. Set the following custom property to override the default value.

    1. In the administrative console, select System administration > Cell > Custom properties > New.

    2. Specify the name of the custom property as snmp.community.

    3. Specify a value for the custom property. The value of the custom property is then used as the community string value.

  • Configure health management
  • Configure the autonomic managers