![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1999372.1 : FS System: How to Generate and Test SNMP Traps
In this Document
Applies to:Oracle FS1-2 Flash Storage System - Version All Versions and laterInformation in this document applies to any platform. GoalThis 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. SolutionThe 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
Configuring SNMP Using FSCLIFor 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 TrapAny 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.
# 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 ...+.....<...
# 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 |
||||||||||||||||||||
|