Skip to main content

Testing SNMP traps

Because communication with a traphost is not automatically validated when you add it, you should verify that the SNMP traphost can correctly receive traps. You should use CLI commands to send a test trap to a traphost, and then use your SNMP management software to verify that the trap was received.

Procedure

  1. Use the CLI command system snmp init to generate a trap added with a traphost from the cluster. Run the following commands to send a coldStart trap to the traphost:
    Cluster-1::> system snmp init -init 1
    Please verify the init value sets successfully by issuing the “snmp show” command.,
    Cluster-1::> snmp show
    contact:
    location:
    authtrap:
    0
    init:
    1
    traphosts: -
    community: - -
  2. From the traphost location, verify that the trap was received, and use any software you use to manage the SNMP traphost.