SNMP traps from BPEL
Hi
I have a requirement to send SNMP traps from BPEL. I am using FMW11.1.1.3 over weblogic.
I was going through some documentation where i could see that SNMP traps can be created from the Weblogic Server console. Can some one help me on how to generate and sent the traps through SNMP.
Thanks
Vamsi
Yes, I think the Network Devices need to be discovered first in order to receive traps and generate alerts.
Juke Chou
TechNet Community Support
Similar Messages
-
Sending alerts as SNMP-Traps from Solman to Nagios
Hi!
we would like to set up the alerting structure for sending the alerts as SNMP-Traps from Solman to Nagios.
The questions:
1) Is such integration possible? If yes, how complexe?
2) What are the technical steps to perform in order to realize these steps?
3) What are the steps to perform on Nagios server?
Thank you very much!
regards
H. ThomassonHello Prasad,
a search for SNMP in the Online Documentation returns [Sending and Receiving Alerts Using SNMP Traps|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ff/0620fbf6a404479d48b9e24552f770/frameset.htm].
Regards, Michael -
SNMP traps from EMC SRM to SCOM 2012 R2
Hi,
I'm trying to configure SCOM 2012 R2 as an SNMP trap listner. I've seen many articles on setting this up but all are based around SNMP traps from network devices which must first be discovered and identified in the network device list.
However in my scenario I am trying to monitor/listen for traps send by a Linux box hosting EMC SRM - this management software can be configured to send SNMP traps out so it is these that I need to try and listen for/capture.
So can anyone explain how I can configure SCOM 2012 R2 to do this. I have tried to just used the IP of the Linux box and discover it as a network device but it fails - in Network Devices Pending Mgmt it says No response Ping, even though I can
ping the box from the Server OK - so I am guessing you cant cheat scom in discovering the Linux box as a network device in ths way?
Can anyone offer any advice for setting this up. Just to add I've ensured the RunAs Community String (public) and SNMP version is correct on both side...
Cheers...Once the Network Device (Linux server in this case) is discovered you will still need a rule that targets that class and accepts incoming SNMP Traps for that OID, or All OIDs if you prefer. I found 2 links that may be of help, the first is just a basic
overview of the SNMP listener in SCOM 2012 as it has changed from the OS Listener in 2007 to a dedicated one.
http://systemcentertech.com/2012/05/17/scom-2012-built-in-snmp-trap-listener/
The second link covers SNMP setup, but starting at Step 7 there is a great how-to on creating your own SNMP rule which will be needed to collect your traps.
http://scom-2012.blogspot.com/2012/07/setting-up-snmp-monitoring-in-scom-2012.html
www.Practice2Perfect.com -
SNMP traps from HP NNMi - SCOM
Hi,
We wan't to forward snmp traps from hp nnmi to scom.
I have found a description of a solution for this here: http://social.technet.microsoft.com/Forums/systemcenter/en-US/19c29988-dfe8-4918-b0d5-f3124bcfea95/operations-manager-and-hewlett-packard-nnmi?forum=operationsmanagergeneral
I have added a server as snmp device. By using snmptrapgen I have also confirmed that the traps are received from scom.
In NNM I have specified that all traps are to be forwarded to the server which is discovered as a network device. I have also activated the snmp services and set the correct settings. These traps have not been received in scom.
Have I understood this correctly? If NNMi just forwards the traps, will not the traps have source IPs which is not registered as network devices in SCOM, and therefor be discarded?
I would very much like to hear from people how have done a simular type of integration :)
Thanks in advance, Best RegardsYes, I think the Network Devices need to be discovered first in order to receive traps and generate alerts.
Juke Chou
TechNet Community Support -
Anm 4.1 support for receiving snmp traps from CSS / ACE
Hi
Does anyone have an ANM 4.1 installation that is accepting snmp traps from their CSSes / ACEs?
If I configure CSSes / ACEs to send snmp v1 traps to anm, they never appear in the Monitor -> Events view.
I've tried both the ANM 4.1 Virtual Appliance and ANM 4.1 running on RHEL and it seems that there's nothing listening on udp port 162 to receive the snmp traps.
From the virtual appliance:
admin# show ports
Process : java (5999)
tcp: 0.0.0.0:40000, 0.0.0.0:40001, 127.0.0.1:10023, 0.0.0.0:10443, 0.0.0.0:
10003, 0.0.0.0:10004, 0.0.0.0:8443
udp: 0.0.0.0:39182, 0.0.0.0:10003, 0.0.0.0:6120
Process : rpc.statd (2348)
tcp: 0.0.0.0:834
udp: 0.0.0.0:828, 0.0.0.0:831
Process : mysqld (3125)
tcp: 0.0.0.0:3306
Process : java (5992)
tcp: 0.0.0.0:10444, 0.0.0.0:10445
Process : portmap (2312)
tcp: 0.0.0.0:111
udp: 0.0.0.0:111
Process : monit (2779)
tcp: 0.0.0.0:2812
Process : java (2952)
tcp: :::40002
Process : java (2966)
tcp: :::40003
Process : sshd (2625)
tcp: :::22
Process : ntpd (2606)
udp: 127.0.0.1:123, 0.0.0.0:123, ::1:123, :::123
I notice that port 443 isn't in here and I'm accessing the web interface using this port so perhaps there's something else going on behind the scenes.
Can anyone point me in the right direction to get snmp traps shown as events in ANM 4.1?
Thanks very muchhi.
as per documentation:
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/application_networking_manager/4.1/user/guide/UG_monitor.html#wp1176870
you need to send snmpv2 to anm. can you try v2 traps and see if it works?
Regards,
Fadi. -
Hi,
I'm trying very hard to set up a Sun Fire V245 to send SNMP traps when certain hardware or software related events occur. I've been looking at sma_snmp (net-snmp) and the Fault Management Daemon (SUNWfmd) but they seem to be very limited in their capabilities. I have manged to get some traps sent for filesystem fill-ups and high load averages but that is about it.
Most of all I would like the system to send traps when there is a HW failure such as a faulty FRU or if there are disk failures.
If anyone can point me to some documentation about this, I would be most grateful.
/MikaelMikael,
I struggled through the same thing with a Netra 240 recently. The Sun docs are garbage when it comes to this. I opened a ticket with Sun and after 3 days and 6 hours on the phone I finally got hold of someone who knew how to spell SNMP. Yes, it was that bad!
Here's the scoop. In Solaris 10 you run Net-SNMP, a.k.a. SMA, snmpd. The old snmpdx is obsoleted and you shouldn't configure it at all.
Now to get the hardware related traps for the Sunfire and Netra series servers... (what you are really looking for).
You have to load and configure an additional SNMP daemon for the hardware specific traps.
(The first doc is rather old, the last one 819-7978-12 is pretty new and is somewhat more relevant.)
Sun� SNMP Management Agent for Sun Fire� and Netra� Systems: Sun Doc number 817-2559-13
Sun� SNMP Management Agent Addendum for the Netra� 240 Server: Sun Doc Number 817-6238-10
Sun� SNMP Management Agent Administration Guide for Sun Blade� /Sun Fire�/Sun SPARC� Enterprise/Netra� Servers: Sun Doc Number 819-7978-12
And finally the SMA/net-snmp/snmpd guide for the standard Solaris related traps:
Solaris System Management Agent Administration Guide: Sun Doc Number 817�3000�11
There are problems with all of the above documents. None of the Netra/Sunfire docs specifically talk about Solaris 10 so read them with caution. They also talk about configuring and running snmpdx and never reference SMA/net-snmp. This is odd because the instructions I got from Sun (finally) were not to run snmpdx, only to run sma/snmpd and additionally run the sunfire/netra snmpd agent.
The SMA document (817-3000-11) has an undocumented bug, which Sun knows about and is working on but will not reveal to the public. In the section titled "Migration From the Sun Fire Management Agent" it references using a script called masfcnv to convert the sunfire/netra specific snmp config and daemon to work with and through SMA. Since they all use the same ports (161/162) there is some conflict and the masfcnv is script is meant to resolve this by making sma/snmpd a proxy agent to requests toward the sunfire/netra specific hardware daemon.
The problem is the masfcnv script doesn't work properly. In fact, if you run the script you will destroy your other snmp configurations and may have to uninstall and reinstall the packages to clean everything up. This script hasn't ever worked and Sun is working on a fix but they neglect to mention this in the document which is IMO gross negligence and is a reflection of Sun's overall state of affairs (but that's another ranting thread).
So what you must do is configure SMA/net-snmp (or whatever you want to call it), and also configure the sunfire/netra specific snmp (after downloading and installing that package).
Since traps are sent to the remote trapsink using destination port 162, both net-snmp and the netra specific snmp daemons can co-exist here (port 162 is not an open listening port on the machine).
Port 161 is used for receiving SNMP Get requests and can only be bound to one daemon at a time. So either it is used by net-snmp or the netra snmp daemon, but not both. Since my boxes have not been fully integrated still I can't figure out which daemon 161 is bound to. At any rate, in my application the customer is only interested in receiving traps so the outcome here isn't that important.
I realize this isn't complete but I'm no expert here and haven't worked through all the test scenarios on a fully configured system. Hopefully though this will help clear some of the confusion propogated through Sun's stupid documents. Good luck!
/Frank -
Problem with Generating SNMP traps from Windows Events
Hi Supporter,
I configured some events to be translated to traps using evntwin for Service Control Manager and Local Session Manager events. But I just got traps from Service Control Manager event. There is no Local Session Manager events are generated. I checked
with Event Viewer that events are created. Do you have any idea to fix my problem?
Thank you!
Here is my config file from evntwin:
#pragma add "System" "Microsoft-Windows-TerminalServices-LocalSessionManager" 2952790037 1 0
#pragma add "System" "Microsoft-Windows-TerminalServices-LocalSessionManager" 2952790039 1 0
#pragma add "System" "Microsoft-Windows-TerminalServices-LocalSessionManager" 2952790040 1 0
#pragma add "System" "Microsoft-Windows-TerminalServices-LocalSessionManager" 2952790041 1 0
#pragma add "System" "Service Control Manager" 1073748864 1 0#pragma ADD<EventLogFile> <EventSource> <EventID> [<Count> [<Period>]]
The parameter EventSource specifies the application that generates the event.
those maybe helpful...
http://www.questiondriven.com/2012/03/08/windows-server-20032008-event-log-snmp-traps/
http://www.networkcircus.com/articles/20050715.html
Best,
Howtodo -
Re-routing of SNMP traps from port 162 to port greater than 1024
Hello,
I have to re-route SNMP traps received at port 162 to some other port greater that 1024 (say 2041). There is an application which sends SNMP traps to port 162 and our application running on Windows listens for SNMP traps on port 2041, so we want
to route/forward the traps internally from port 162 to 2041.
I have been looking at the rules defined in 'Windows Firewall with advanced security' but not able to succeed. I noticed that there is a predefined rule for SNMP traps but it does not give me an option to forward the trap to another port. I tried
creating a new rule but that also does not give me an option to change the port.
Please help.Hi,
According to Technet Library:
SNMP uses the default UDP port 161 for general SNMP messages and UDP port 162 for SNMP trap messages. If these ports are being used by another protocol or service, you can change the settings by modifying the local Services file on the agent. The Services
file is located in \ % SystemRoot %\System32\Drivers\Etc
There is no file name extension. You can use any text - based editor to modify the file. The management system must also be configured to listen and send on the new ports.
Caution:
If you have previously configured IP security to encrypt SNMP messages on the default ports, you must also update the IP security policy with the new port settings. Otherwise, communication can be erroneously blocked or SNMP communications might not be secured.
You can access to the link below for this article:
http://technet.microsoft.com/en-us/library/cc959643.aspx
Roger Lu
TechNet Community Support -
SCOM receiving SNMP traps from HP IMC
Hi all,
I've been tasked with creating SCOM alerts from SNMP traps which are forwarded from HP IMC. Each SNMP trap will arrive at SCOM from a single source (IMC server) but each will contain different information. Can someone suggest the best way for me to generate
individual alerts from this? I'd also appreciate any comments on alternative ways to do this (apart from simply using both systems separately!).
The environment is SCOM 2007 R2 on a 2003 R2 server.
Thanks in advance for any suggestions.Hi
This comes up on the forums quite often so here are a summary of some of the best articles I’ve found on the net:
Configuring using the GUI:
The System Center Central team have a great series –
Part I,
Part II,
Part III, and
Part IV
David Allen has a good walkthrough here about creating
SNMP Probe based monitors.
Issues with using the GUI to create monitors with numeric expressions – see Raphael Burri’s
blog
SNMPVarBinds and the Alert Description Field –
http://blogs.msdn.com/b/rslaten/archive/2007/10/31/snmpvarbinds-and-the-alert-description-field-in-opsmgr-2007.aspx
oring Console:
Kris Bash at Operating Quadrant has some great articles on SNMP monitoring.
The only thing to be careful of before investing too much time in customisation for network devices on SCOM 2007 R2 is that when you move to SCOM 2012, you might well need to redo them as network monitoring has changed.
http://blogs.technet.com/b/momteam/archive/2011/10/24/migrating-operations-manager-2007-network-monitoring.aspx
Cheers
Graham
Regards Graham New System Center 2012 Blog! -
http://www.systemcentersolutions.co.uk
View OpsMgr tips and tricks at
http://systemcentersolutions.wordpress.com/ -
Monitoring SNMP Traps from Windows Server
Hello All
im looking for a way to monitor an application that runs with os windows server 2003 and windows 2008 r2 and send its alarms as a snmp traps with system center operations maanger 2012 R2.
in the scom 2007 environment i could discover the servers as network device and recive traps and genrate alerts.
is there a way to edit the existing management pack to enable the windows server discovery as a network device
and enable traps with a microsoft oid to be resived ?
i understand that this is by desigin from
http://technet.microsoft.com/en-us/library/hh212935.aspx
or is there another option to create this monitor with scom 2012 R2?
Thank youHello Yan.
thank you for the replay i understand that this is by design,
what im looking for is a way to edit the management pack that discard those OID
or even a 3rd part solution to monitor windoes server snmp genrated alerts.
thank you -
No SNMP traps from sun x4150 ILOM server
Hi all,
I have set up the ILOM alerts with SNMP traps (v2c,public) according to the ILOM user guide and pressed the "send test alerts". Nothing shows up in the SNMP trap monitor (using MG-SOFT software). When I add another alert of IPMI pet type (same destination ip as of SNMP trap alert) I see events in the trap monitor. It looks like the ILOM does not generate SNMP traps but only IPMI traps.
In the ILOM user guide there is an explicit example of traps sent from the ILOM (in addition to the fact that the ILOM features include SNMP traps AS WELL as IPMI) so it seems this is possible...
my ILOM version is
SP Firmware Version 2.0.2.6
Does anyone have any idea of any step I have missed ?
Thanks in advance.
LiorOnce the Network Device (Linux server in this case) is discovered you will still need a rule that targets that class and accepts incoming SNMP Traps for that OID, or All OIDs if you prefer. I found 2 links that may be of help, the first is just a basic
overview of the SNMP listener in SCOM 2012 as it has changed from the OS Listener in 2007 to a dedicated one.
http://systemcentertech.com/2012/05/17/scom-2012-built-in-snmp-trap-listener/
The second link covers SNMP setup, but starting at Step 7 there is a great how-to on creating your own SNMP rule which will be needed to collect your traps.
http://scom-2012.blogspot.com/2012/07/setting-up-snmp-monitoring-in-scom-2012.html
www.Practice2Perfect.com -
I have a Cisco 4404 WLC that sends its system logs to a syslog server (kiwicat), but I'm interested in getting the snmp traps sent over there as well. I've configured the syslog server to accept the snmp on the right ports and I've confirmed that the syslog server can receive then by sending traps manually from other devices.
I cannot seem to actually get the WLC to send the traps to the server. the syslog stuff gets through ok, but not the snmp. I've added the syslog server as an SNMP trap reciever and configured it as much as it needs to be and the only difference it seems to have made is to add more things to the main trap log on the 'monitor' tab on the WLC. Am i missing something really basic?
p.s. the WLC and the syslog server are separated by a firewall, but the syslog rules have been altered to also allow the snmp, should it attempt to go through.
Any help would be gratefully received.Yes, I think the Network Devices need to be discovered first in order to receive traps and generate alerts.
Juke Chou
TechNet Community Support -
SNMP Traps from catalyst 3750x
I use SNMPc from Castrlerock. When my Catalyst 3750x sends a trap they display as below. I've included the imports, I've checked the imports imports etc. I'm by no means and SNMP expert and obviously missing something. I've also check the Cisco SNMP Navigator and using the correct MIB files for my IOS version. If someone could point my in the right direction as to what I'm missing would be greatly appreciated. I don't have this problem with other vendors MIB's so I'm hoping it's some dependent MIB that's I'm overlooking.
I can provide a list of the loaded MIB's if that would help.
Thanks.
Robert
Trap Message in SNMPc
clogMessageGenerated [1] clogHistFacility.109985 (DisplayString): LINK [2] clogHistSeverity.109985 (Integer): error [3] clogHistMsgName.109985 (DisplayString): UPDOWN [4] clogHistMsgText.109985 (DisplayString): Interface GigabitEthernet4/0/26, changed state to up [5] clogHistTimestamp.109985 (TimeTicks): 147 days 18:07:13 [6] snmpTrapEnterprise.0 (ObjectID): ciscoSyslogMIBNotificationPrefix
Trap Message on Syslog server
2015-01-22 18:01:48 Local7.Notice gallium 72937: 072933: Jan 22 23:01:48.128: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/20, changed state to upYes, I think the Network Devices need to be discovered first in order to receive traps and generate alerts.
Juke Chou
TechNet Community Support -
SNMP traps from 3005 Concentrator
Software version: 4.1.3
I've configured the concentrator to trap events using the events list to a particular client. Currently the traps are working but not according to the list I've specified (I don't think :)
The list is simple:
IKE/120,119,167, SEV(4)
where 120 is PHASE 2 COMPLETE
119 is PHASE 1 COMPLETE
and 167 is USER AUTHENTICATION FAILED
Problem is I'm getting a lot more than just the three messages I'm looking for.
I'm seeing messages 49,173,52,41, and 123 as well.
Any suggestions?Yes, I think the Network Devices need to be discovered first in order to receive traps and generate alerts.
Juke Chou
TechNet Community Support -
SCOM 2012 SNMP Trap - Does anyone have it working?
I am wondering if anyone out there has had any luck with getting SNMP Traps to be captured by SCOM 2012? Probes work fine.
We have been unable to get SCOM 2012 to receive a SNMP Trap from network devices. We currently have a case open with Microsoft, but they dont have any answers as of yet.
Here are the cliff notes version of what we have done so far.
Discovery - OK
The nodes discover without issue. I made sure they were set to SNMP only. I did this to verify we were talking SNMP and not just ICMP.
Open Ports/Firewall Issues
No firewalls are in place on the SCOM server and none exist between devices we are trying to get traps from. Using a port tool, I can see that UDP 162 is listening as expected and its the System Center Management Host Process that is running the
process. We have tried having SNMP installed, but disabled, installed and running, and uninstalled. Currently we have the SNMP service installed and running. The SNMP Trap Service is NOT installed.
Data Validation
Using Wireshark running on the SCOM box I have been able to validate the OIDs we are searching for are hitting the SCOM server. I installed an SNMP Trap generator and Receiver on my local machine as well as Jalasoft SNMP Simulator. I was able
to discover my local machine as a network device and if I send a TRAP from the TRAP generator on my local machine to the receiver on my local machine I can validate the data is coming through ok.
What has been done on SCOM side
The simplest place to look for data is with an Event Collection Rule and then an Event View Monitor. We have set up an Event Based Monitor to search for an OID that I know to be accurate and then I set up an Event monitor to look for
anything hitting that Collection Rule. The Event monitor showed nothing so we changed the EVent Monitor to look for anything that hit Node which should show any SNMP traps that have hit from network devices. No results.
We tried to run WFAnalyzer from the 2007R2 Authoring Console, but it wont run against 2012 and from what I have found the 2012 edition doesnt exist anywhere yet.
So has anyone succesfully received a SNMP TRAP into SCOM 2012?Hi,
As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as "Answered" as the previous steps should be helpful for many similar scenarios.
In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems.
Thanks,
Yog Li
TechNet Community Support
How could you possibly mark this as answered? No answer was given, it was quiet for a couple of days including one of which was a holiday in the US. The previous steps are NOT helpful. The question remains, Does anyone have it working?
People have given troubleshooting advice, but nobody has actually answered the simple question. Do they have it actually WORKING?
Maybe you are looking for
-
XML Page cannot be displayed error on interactive reports
Hi, I am having trouble with a user downloading an interactive report as a CSV output. When a user tries to download the interactive report (as it is displayed when the web page loads, no alterations), they are getting this error: The XML Page cannot
-
HT4314 How do I get my games centre to stay logged in on my iPhone and iPad?
I bought an iPhone 5 today and I tried logging into my games centre. It said it couldn't connect. So I logged out of my game centre on my iPad and it allowed me to connect to my iPhone, now it won't let me connect to my iPad! Please help, my sister i
-
I have a long track-record of getting "lemons" when it comes to Verizon phones. However, my thunderbolt-.is pushing me to my limits. My phone goes from 4G to 3G to 1X-to no service-constantly! I feel like I am always restarting my phone in hope
-
Error installing APX 3.01 on XE: script \builder\f4411.sql
Hello, I have installed ORACLE XE 10.2.0 on Windows XP in German. I want now to install APEX 3.01 using the script @apexins password SYSAUX SYSAUX TEMP /i/ The installation script cannot be performed to the end. The following error appears at the end
-
Nothing will download..."cannot create file"
so my hard drive crashed on my macbook so i had to get it replaced and im trying to download everything i had before...and i've tried download 2 different things and neither of them will download. when it comes to the little box where the programs sh