Go to main content

Oracle® Server Management Agent for Oracle Solaris 11.3 User's Guide

Exit Print View

Updated: October 2017
 
 

How to Configure SNMP Traps

  1. Open your snmpd.conf file for editing.
  2. Depending on the version of SNMP traps you want to send:
    • To be able to send SNMP version 1 traps from the Hardware Management Agent, add the following line to snmpd.conf:

      trapsink host communitystring trapport

    • To be able to send SNMP version 2 traps from the Hardware Management Agent, add the following line to snmpd.conf:

      trap2sink host communitystring trapport

Example 1  Setting SNMP Version 2 Traps

The following example shows the line added to the snmpd.conf file to configure SNMP Traps using SNMP version 2:

trap2sink 10.18.141.22 public 162