Create the STA SNMP v2c Trap Recipient

If you are using SNMP v2c, define the STA server as an authorized recipient of SNMP v2c traps and to define traps the library sends.

Note the following configuration requirements:

  • To avoid duplicate records, do not define the STA server as a trap recipient in multiple instances. For example, do not create both an SNMP v3 and SNMP v2c trap recipient definition for the STA server.
  • Trap level 4 may not be supported by older library firmware versions; however, it can always be specified when creating a trap recipient.
  • To avoid entry errors in the CLI, you can first type the command in a text file, and then copy and paste it into the CLI. For help with CLI commands, type help snmp.
  • Do not use the values "public" or "private" for the community string, as these values are well known and present a security risk.

SL500, SL3000, and SL8500

  1. Establish a CLI session on the library.

  2. Create an SNMP v2c trap recipient. Separate trap levels with commas.

    > snmp addTrapRecipient trapLevel 1,2,3,4,11,13,14,21,25,27,41,45, 61,63,65,81,85,100 host STA_server_IP version v2c community community_name
    

    Where:

    • STA_server_IP: IP address of the STA server.

    • community_name: SNMP v2c trap community string.

    For example:

    > snmp addTrapRecipient trapLevel 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100 host 192.0.2.20 version v2c community stasnmp
    
  3. List the trap recipients to verify that STA has been added correctly.

    > snmp listTrapRecipients
    ...
    Trap Level 1,2,3,4,11,13,14,21,25,27,41,45, 61,63,65,81,85,100
    Version v2c
    Object Snmp snmp
    

SL150

  1. Log in to the library.
  2. In the navigation tree, select Settings.
  3. Select the SNMP tab.
  4. In the SNMP Trap Recipients table, select Add Trap Recipient.
  5. Complete the Add Trap Recipient screen as follows:
    • Host Address - IP address of the STA server.
    • Trap Level - Comma-separated list of trap levels the library should send to STA: 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100
    • Version - Select v2c.
    • Community Name - Specify the SNMP v2c trap community string (for example, stasnmp).
  6. Click OK to add the trap recipient.