From Mbeans to SNMP traps
Hi,
I wonder if someone could told me how to pass from MBeans to SNMP traps on IAS 10g??. I search for something similar on this forum but I have no success. The traps are sended to an HP OpenView.
Thanks a lot.
On AdventNet there is an SNMP adaptor form MBeans but I dont know if this adaptor is necesary on IAS...?
Similar Messages
-
Experiences with sending SNMP-Traps to 3rd party (Nagios)
Hello Colleagues,
i'm working on a project where we would like to monitor our databases additionally sending SNMP-Traps to Nagios.
At the moment i'm using net-snmp-utils and snmptt. The snmptt-traphandler is running in daemon-mode and passes incoming SNMP-Traps to Nagtrap.
Now i want to create passive service checks. For example a passive service check for TBS_Usage for database 'exdb' which returns the values from the incoming SNMP-Trap.
Has anyone experiences by implementing the SNMP Notifications (to Nagios)? Is there an easier way to implement this than using snmptt?
Does anyone know, how the MIB (snmptt.conf) must be configured for the passive service check?
I'm looking forward hearing from you soon!
Best regards,
SönkeHi Nikhil!
Basically I am trying to set trap forwarding to a
a NNM on the network from sunMC 3.5 Update 1.
I have followed all the directions in sunMC snmp FAQ
and other threads on this forum but I am not able to
set the trap destinations.<snip>
Other thread having same question is
http://forum.sun.com/thread.jspa?threadID=15625&tstart
=0Have you reviewed the options in the other thread? (i.e. Halcyon SNMP integration or HP integration packages). Both are off-the-shelf and if you can understand SunMC SNMP infrastructure you certainly wouldn't have trouble configuring either. If you've looked at both packages, what parts made you decide not to use them? Note: I work for Halcyon.
Building your own custom integration with direct traps may be difficult: the generic snmp faq doens't have all the info you need to do so (i.e. how to get NNM to go backwards to an Agent to request the details of an event like "Warning /op is 95% full" or "Critical: Power Supply 2 is Offline"). I'm not even sure how I'd go about it, and I've been using SunMC for years :)
Regards,
Mike
([email protected]) -
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 -
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 -
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 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 -
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
VamsiYes, 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 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 -
We keep getting thousands of entries in the CAM event log like this:
SNMP trap is received from switch [<ip address>] which is NOT in our database.
apparently, these aren't NAC'd switches. Why does the CAM see these and how can they be eliminated from the Event Log?
Thanks,Matt,
Do you switches have the CAM as a host where they are sending traps? Check the running-config of the servers and see if you spot the CAM IP address as one of the snmp-servers.
HTH,
Faisal -
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.
Maybe you are looking for
-
Mid Year Go Live-Australia and New Zealand
Hi, We are implementing Mid Year Go Live for payroll for Australia and New Zealand. In case of India, we have schema INLK and list of technical wage types that need to be uploaded to T558B and T558C. SAP has delivered a note for Payroll India which g
-
Refresh Data in an Excel Workbook from another Excel file
I have an Excel file that I need to use as a data source for a report that is generated from another Excel Workbook that I am using PowerPivot and PowerPivot with. I make the connections and everything works fine, but the schedule to refresh doesn't
-
hello all, i normally shop on my ipod touch (because frankly i cant be bothered to plug it into itunes then shop! ) to shop for apps and song and etc. and because i have a wall charger in my room theres pratically no need to go the computer! so somet
-
Swedish characters in OEM reports
Hi, I have created a report that lists a table that have text with swedish characters in it. When i publish the report as "Whenever the report web page is viewed" the charachters is shown correctly, but with the option "Only when scheduled" all the s
-
How can we remove a specific hyperlink using Acrobat X Pro ?
How can we remove a specific hyperlink using Acrobat X Pro ?