Configure SNMP traphosts to receive event notifications

Contributors

To receive event notifications on an SNMP traphost, you must configure a traphost.

What you’ll need
  • SNMP and SNMP traps must be enabled on the cluster.

    Note

    SNMP and SNMP traps are enabled by default.

  • DNS must be configured on the cluster to resolve the traphost names.

About this task

If you do not already have an SNMP traphost configured to receive event notifications (SNMP traps), you must add one.

You can perform this task any time the cluster is running by entering the commands on the ONTAP command line.

Step
  1. If your environment does not already have an SNMP traphost configured to receive event notifications, add one:

    system snmp traphost add -peer-address snmp_traphost_name

    All event notifications that are supported by SNMP by default are forwarded to the SNMP traphost.