Configuring Snmp traps for Supercluster and Minicluster monitored hosts

After the EM agents are deployed to the engineered system, it is recommended to configure the hosts to send the snmp traps to the agents. Perform the following steps to configure the snmp:
  1. Find the EM agent numeric IP address and port number.

    Login to the host where the EM agent is deployed. From the agent directory <AGENT_HOME>/bin run the following command to obtain the port number of the agent:

    $ emctl status agent | grep 'Agent URL'
    Agent URL: https://hostname.domain:3863/emd/main/

    The port number can be seen after the fully qualified domain name of the agent, it is 3863 in the example above.

    To get the numeric IP address, use ping or nslookup command.

  2. Configure the snmpd.

    Add thetrap2sink entry information into the snmpd.conf configuration file.

    The configuration file snmpd.conf is in different location for Solaris 10 and Solaris 11.

    For Solaris 11 the location is
    vi /etc/net-snmp/snmp/snmpd.conf
    For Solaris 10 the location is
    vi /etc/snmp/snmpd.conf
    Add the following line:
    trap2sink <numericip> public <transport>
    where,
    • The <transport> is the port number obtained in step (1). It is the port number of the EM agent.

    • The <numericip> is the IP address of the EM agent host, obtained in step (1).

    For example
    trap2sink 10.133.249.68 public 3863
  3. Restart the SNMP services.

    For Solaris11:
    svcadm restart net-snmp
    svcadm restart snmp-notify
    For Solaris10:
    svcadm restart sma

    If the SNMP service was not enabled before, ensure that the services are enabled.

    For Solaris11:
    svcadm enable net-snmp
    svcadm enable snmp-notify
    For Solaris10:
    svcadm enable sma
  4. Optionally, verify the snmpd configuration by making sure the status for Telemetry Status is ON in the host target, in the Telemetry Alert Config metric.

    After the configuration of the snmp through steps (1) – (3), navigate to Host home page and perform the following steps:
    1. Select Host and click Configuration.

    2. Click Last collected.

    3. Select Telemetry Alert Config metric.

    4. Click Refresh, wait for few minutes until the metrics get refreshed.


    Telemetric Status

    If the Telemetry Status is ON in Telemetry Alert Config metric, it indicates the the configuration of FMA SNMP traps is done correctly.