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-1999372.1
Update Date:2018-01-03
Keywords:

Solution Type  Technical Instruction Sure

Solution  1999372.1 :   FS System: How to Generate and Test SNMP Traps  


Related Items
  • Oracle FS1-2 Flash Storage System
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Flash Storage>SN-EStor: FSx
  •  




In this Document
Goal
Solution
 Configuring SNMP Using the GUI
 Configuring SNMP Using FSCLI
 Generating a Test Trap


Applies to:

Oracle FS1-2 Flash Storage System - Version All Versions and later
Information in this document applies to any platform.

Goal

This document provides the steps to generate an SNMP trap on the FS1-2 System and trace it on a configured host, using either the GUI or the CLI.

Solution

The Simple Network Management Protocol (SNMP) trap facility can be configured on the FS1-2 to send traps to configured hosts. Any workstation that has an SNMP-based management application installed on it can be a trap host. For further details, refer to the section "SNMP Trap Host Management" in the Oracle Flash Storage System Administrator's Guide.

Note: The FS1-2 also performs (GET) SNMP v2 functionality via MIB interface (not detailed here).

 

Configuring SNMP Using the GUI

  1. Navigate to System > Global Settings > SNMP.

  2. Select Actions > Create.

  3. Enter a Name for the SNMP host.

  4. Enter the values in the Host IP field and the Community String field to specify where the traps are directed. The community string must contain at least six characters.

  5. Select the Receive traps option to enable the Trap Port Number field.

  6. Enter the Trap Port Number. For SNMP traps, use port 162.

  7. (Optional) Select the Severity threshold from the list of possible filters:

    • Informational: Requires no action for events that are information only.
    • Warning: Requires no immediate action for minor conditions that you can address at your convenience.
    • Critical: Requires prompt action to prevent system failures or offline conditions.

  8. Click OK.

 

Configuring SNMP Using FSCLI

For details, refer to the Oracle Flash Storage System CLI Reference.

Syntax:

snmp_host { [ ‑add | ‑delete | ‑list | ‑modify ] | [ ‑usage | ‑help ] }

Example:

$ fscli snmp_host ‑add ‑name snmp_trap_server_1 ‑ip 192.168.10.5 ‑community public ‑trapPort 162 ‑trapEvent warning

 

Generating a Test Trap

Any add, delete, or modify of the SNMP settings will send a trap to a configured SNMP host. On the host, trace on the configured UDP port (usually 162). Examples are shown below for Solaris and Linux. For a complete list of supported operating systems, refer to the Oracle Flash Storage Support and Interoperability Guide.

Note: Ensure your snoop or tcpdump is monitoring on the required physical network interface.


On Solaris use snoop.  For example:

# snoop -x0 udp port 162

  1   0.00000 fs1-2-pilot1 -> myhost-dom00 UDP D=162 S=50699 LEN=190


          48: 0406 7075 626c 6963 a781 a502 0100 0201    ..public........
          64: 0002 0100 3081 9930 1006 082b 0601 0201    ....0..0...+....
          80: 0103 0043 0403 ae7d d330 1906 0a2b 0601    ...C...}.0...+..
          96: 0603 0101 0401 0006 0b2b 0601 0401 f93c    .........+.....<
         112: 0204 0270 3010 060b 2b06 0104 01f9 3c02    ...p0...+.....<.
         128: 0401 0102 0101 3010 060b 2b06 0104 01f9    ......0...+.....
         144: 3c02 0401 0202 0103 3013 060b 2b06 0104    <.......0...+...
         160: 01f9 3c02 0401 0302 0455 2def 0e30 2006    ..<......U-..0 .
         176: 0b2b 0601 0401 f93c 0204 0104 0411 534e    .+.....<......SN
         192: 4d50 5f48 4f53 545f 4352 4541 5445 4430    MP_HOST_CREATED0
         208: 0f06 0b2b 0601 0401 f93c 0204 0105 0400    ...+.....<...


 
On Linux use tcpdump. For example:

# tcpdump -vv udp port 162

12:55:05.418770 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 210)
    10.186.86.28.50699 > myhost-a.snmptrap: [udp sum ok]  { SNMPv2c { V2Trap(165) R=0  system.sysUpTime.0=61972513 S:1.1.4.1.0=E:15548.2.4.2.112 E:15548.2.4.1.1=1 E:15548.2.4.1.2=3 E:15548.2.4.1.3=1429075732 E:15548.2.4.1.4="SNMP_HOST_CREATED" E:15548.2.4.1.5="" } }

 

 


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