Saminnet-Search Article Wiki Forum Blog SNS Cloud
OEM SNMP Trap

  • Data-Articles
    • Kidney test method Thu13,09:39am

      There are different tests that healthcare professionals use to measure kidney function. Overall, these blood and urine tests are used to find out how well your kidneys are working, check for signs of kidney disease, and look for any changes in a person’s kidney health over time. The earlier kidney disease is found, the better the chance of slowing or stopping it from getting worse.     Serum…

      Read More...

OEM SNMP Trap

The Enterprise Manager command line utility (emctl) is used to start, stop, or request the status of Enterprise Manager SNMP Subagent.

Use the following commands to start, stop, or request the status of the subagent. The following examples show the command and expected output.

Example 2-1 Starting the Enterprise Manager SNMP Subagent

% emctl start subagent

Oracle Enterprise Manager 10g Release 10.1.0.4.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting sub agent ... started

Example 2-2 Stopping the Enterprise Manager SNMP Subagent

% emctl stop subagent

Oracle Enterprise Manager 10g Release 10.1.0.4.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Stopping sub agent ... stopped

Example 2-3 Requesting Status of the Enterprise Manager SNMP Subagent

% emctl status subagent

Oracle Enterprise Manager 10g Release 10.1.0.4.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Sub agent is running OR Sub agent is not running

Setting Up SNMP Trap Notifications

Follow these steps to set up SNMP Trap notifications:

  • From the Enterprise Manager Grid Control Console, define an SNMP Trap destination by going to the Notification Methods page under Setup.

    Notification Methods allow you to define different mechanisms for sending notifications, for example, e-mail, SNMP Traps, running custom scripts, or all three. Once defined, these methods can then be used with Notification Rules for sending notifications to administrators as a result of alert occurrences.

  • Under Scripts and SNMP Traps, select SNMP Trap from the Add menu.

  • On the Add SNMP Trap page, provide the name of the host (machine) on which the SNMP Master Agent is running, the port it is listening on, and the community it is part of (Figure 2-2).

    Note:

    A Test Trap button exists for you to test your setup.
  • After you have defined the Notification Method, define a Notification Rule by going to the Notification Rules page under Preferences.

    Notification rules allow you to choose the targets and conditions for which you want to receive notifications from Enterprise Manager.

  • Click Create on the Notification Rules page to display the Create Notification Rule property pages. See the online help provided for these pages and follow the instructions carefully to create your Notification Rule. While defining the Notification Rule, remember to include the Notification Method created in the previous steps.

The MIBs for each trap type are available in Appendix F, "Interpreting Variables of the Enterprise Manager MIB". For more details on how to set up Enterprise Manager to deliver SNMP Traps, refer to the Oracle Enterprise Manager Advanced Configuration guide 10g Release (10.2).

Example 2-4 shows a typical SNMP Trap.

Example 2-4 SNMP Trap

Tue Oct 28 05:00:02 2003

Command: 4
   Enterprise: 1.3.6.1.4.1.111.15.2
   Agent: 138.1.6.200
   Generic Trap: 6
   Specific Trap: 1
   Time Stamp: 8464:39.99
   Count: 11
Name: 1.3.6.1.4.1.111.15.1.1.1.2.1
   Kind: OctetString
   Value: "mydatabase"
Name: 1.3.6.1.4.1.111.15.1.1.1.3.1
   Kind: OctetString
   Value: "Database"
Name: 1.3.6.1.4.1.111.15.1.1.1.4.1
  Kind: OctetString
  Value: "myhost.com"
Name: 1.3.6.1.4.1.111.15.1.1.1.5.1
   Kind: OctetString
   Value: "Owner's Invalid Object Count"
Name: 1.3.6.1.4.1.111.15.1.1.1.6.1
   Kind: OctetString
   Value: "Invalid Object Owner"
Name: 1.3.6.1.4.1.111.15.1.1.1.7.1
   Kind: OctetString
   Value: "SYS"
Name: 1.3.6.1.4.1.111.15.1.1.1.8.1
   Kind: OctetString
   Value: "28-OCT-2003 04:59:10 (US/Eastern GMT)"
Name: 1.3.6.1.4.1.111.15.1.1.1.9.1
   Kind: OctetString
   Value: "Warning"
Name: 1.3.6.1.4.1.111.15.1.1.1.10.1
   Kind: OctetString
   Value: "12 object(s) are invalid in the SYS schema."
Name: 1.3.6.1.4.1.111.15.1.1.1.11.1
   Kind: OctetString
   Value: "Database Metrics"
Name: 1.3.6.1.4.1.111.15.1.1.1.12.1
   Kind: OctetString
   Value: "SYSMAN"

Comments   

 
0 #1 Guest 2018-10-05 10:35
Hi there to all, as I am in fact eager of reading this website's post to
be updated regularly. It consists of nice data.

my webpage ... minecraft
Quote
 

Articles by Date

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email