Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1540583.1
Update Date:2017-06-07
Keywords:

Solution Type  Technical Instruction Sure

Solution  1540583.1 :   SL500/SL3000/SL8500 - How to Configure Trap Recipients on SNMP v2c for Tape Libraries  


Related Items
  • Sun StorageTek SL3000 Modular Library System
  •  
  • Sun StorageTek SL8500 Modular Library System
  •  
  • Sun StorageTek SL500 Modular Library System
  •  
Related Categories
  • PLA-Support>Sun Systems>TAPE>Tape Hardware>SN-TP: SL3000-8500 Library
  •  




In this Document
Goal
Fix


Applies to:

Sun StorageTek SL8500 Modular Library System - Version All Versions and later
Sun StorageTek SL3000 Modular Library System - Version All Versions and later
Sun StorageTek SL500 Modular Library System - Version All Versions and later
Information in this document applies to any platform.

Goal

 Edit a trap recipient.
 Delete a trap recipient.

 Common scenarios:

  • Customer wants to change the IP address for a trap recipient.
  • Customer wants to add or reduce to amount of messages that he is getting from a trap recipient on his monitoring server.

Fix

There is no command to perform an edit operation over an existent trap recipient.  Should the customer want to do that, a trap recipient must be deleted and a new one with the new specifications to replace it.

To complete this task, follow 2 steps. Please note you can perform these steps in any order, just make sure that in the end, a new trap recipient is created to replace the old one.

Use the AddTrapRecipient command to create the trap recipient that will replace the old one.


Example:

SL8500>snmp addTrapRecipient trapLevel <trap Level String>
host <IP address of the monitoring server or the host name> version v2c community public


SL8500>snmp addTrapRecipient trapLevel 1,2,3,11 host 128,45,1,162 version v2c community public

 request id
 request id         2
 device         1,0,0,0
 Success        true
 done
 Failure Count        0
Success Count     1
COMPLETED
OK
SL8500>

 

List and delete the trap recipient that customer wants to modify.

Take note of the Index ID of the trap recipient that you want to delete, because it is needed by the  snmp deleteTrapRecipient to be able to delete it.


Use the snmp listTrapRecipients to list and identify the trap recipient that customer wants to edit.

Example:

SL8500> snmp listTrapRecipients

   requestId

   requestId 40601

   Attributes Community  public
              Host       10.157.189.219

              Index      1

              Port       162

              Trap Level 1

              Version    v2c

   Object     Snmp       snmp

   Done

   Failure Count 0

   Success Count 1

COMPLETED


To delete a trap recipient:


Use the command: snmp deleteTrapRecipient
 <id <index> | host <hostname | hostAddr> version <v2c community <communityString>

With all the steps done, the edit/delete of the trap recipients is complete.

For further information, please refer to Simple Network Management Protocol that can be downloaded on http://docs.oracle.com/cd/E24306_02/index.html


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback