Setting up an SNMP receiver

You can use the WMC to create notifications for events that happen in runtime components such as orchestrations, security, hardware and others. A delivery mechanism for these notifications is SNMP in which a trap is set for events. To retrieve these events, you must to set up a receiver or manager that is registered with the appliance. Use the procedures in this section to set up an SNMP receiver.

About this task

When you set up an SNMP receiver, you download and split the MIBs, create the configuration file, enable notifications, add a notification policy and then test the system:

Procedure

  1. Click on WMC: Logs-> Notifications -> SMNP.
  2. In the dialog box click Download MIB.
  3. Add the MIBs to the machine you've designated to be the receiver.
  4. Run the following script to split the MIBs into logical units. Note: the script assumes the file is in the local directory and that the file you downloaded is named castironsys.mib.
    #!/bin/bash
    
    sed -ne 's/DEFINITIONS ::= BEGIN.*//p' castironsys.mib |
      while read mib; do
        echo $mib
        sed -ne "/^$mib/,/^END/p" castironsys.mib > $mib
      done
  5. Set up your SNMP manager of choice.
  6. Select WMC: Logs-> Notifications -> SMNP to enable SNMP notifications. Be sure that the Enable SNMP checkbox is checked.
  7. Add the receiver hostname.
  8. Set the trap community to be public. This is defined in /etc/snmp/snmptrapd.conf as the authCommunity entry.
  9. Click Save.



Feedback | Notices


Timestamp icon Last updated: Thursday, 2 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.appliance.doc/ApplianceHelp/Monitoring/set_up_snmp_receiver.html