17.2 Setting Up SNMP Notifications on Linux

  1. Install the Net-SNMP RPM packages:
    • net-snmp

    • libsnmp15

    • snmp-mibs

  2. In /etc/snmp/snmpd.conf configuration file:
    1. Comment out the com2sec entry:
      # com2sec notConfigUser  default       public
    2. Add the following lines at the end of the file:
      rocommunity public
      trapsink localhost
      master agentx 
    3. (SLES 10 only) Register the agentx socket:
      agentxsocket /var/agentx/master
  3. Copy aus.mib from /usr/StorMan to /usr/share/snmp/mibs/:
    #cp /usr/StorMan/aus.mib /usr/share/snmp/mibs
  4. Restart the SNMP agent:
    #service snmpd restart
  5. Start aus-snmpd from /usr/StorMan:
    #./aus-snmpd