Open topic with navigation

Disconnected: You’re looking at a local copy of the Appliance Controller Documentation Center. The most current version is online at www.quantum.com/accdocs.

# Configure SNMP Notification Directives

You can configure a unique notification directive to instruct the SNMP agents where to send traps. Keep in mind that you can only define one notification directive for each host ID / port combination. In addition, you can define the trap community to apply to the notification directives.

Note: For a list of all the Appliance Controller commands, see the Command Index.

What Are Traps and Trap Communities?

Traps are asynchronous announcements of data changes that occur on a managed appliance. Rather than waiting for the next SNMP manager poll, the SNMP agents can send traps to notify the SNMP manager of data changes. Using the notification directive, you can define the host ID / port combination of the SNMP manager to which to send traps.

Traps are sent with the community string of a specific community. This community, which authenticates the communication, is referred to as the trap community. If you do not specify a trap community, then the default community will be used. We recommend that you do not use the well-known "public" community string.

Create an SNMP Notification Directive

1. Log in to the Appliance Controller CLI.
2. Enter:

snmp notification add (trapsink | trap2sink | informsink) <host-id> [<trapcommunity-name>] [port=<port-number>]

The parameters are:

`(trapsink | trap2sink | informsink)` | Define the format to use for sending traps: Enter `trapsink` to send SNMPv1 traps. Enter `trap2sink` to send SNMPv2 traps. The StorNext SNMP agent can send only SNMPv2 traps. Enter `informsink` to send inform notifications.
`<host-id>` | Define the host ID of the SNMP manager receiving the trap, either with an IP address or fully qualified domain name.
`[<trapcommunity-name>]` | (Optional) Enter the name of the trap community to which this notification applies. See Define an SNMP Trap Community.
`[port=<port-number>]` | (Optional) Define a specific port number to which to send traps.

Example:

> snmp notification add trap2sink 10.30.162.134

Remove an SNMP Notification Directive

1. Log in to the Appliance Controller CLI.
2. Enter:

snmp notification remove <host-id> [<port-number>]

The parameters are:

`<host-id>` | Enter the host ID assigned to the notification directive that you are deleting.
`[<port-number>]` | (Optional) Enter the specific port number of the notification directive that you are deleting.

Define an SNMP Trap Community

1. Log in to the Appliance Controller CLI.
2. Enter:

snmp trapcommunity <community-name>

The parameter is:

`<community-name>` | Enter the name of the trap community.

6-68456-07_RevA | Initial publication date: Friday, December 22, 2017 | Last updated on Monday, January 12, 2026.

Open topic with navigation