SNMP Traps Monitoring problem.

Hi,
Hear is my problem. I am using SNMP Traps as Auto-Reaction Method to monitor some files system. I am already receiving Traps when the file exceeds the thresholds value (when change from Green to Yellow and when change from Yellow to Red). The problem that I’m having is that I am not receiving Traps to reset these values (Reset from Red to Yellow and Reset from Yellow to Green). What do I have to do to receive those traps?

Hi Santiago,
I am trying to send snmp alert from solution manager to Tivoli enterprise console. I did all configuration based on SAP document but Tivoli team keep saying that they did not receive anything. There is no way i can test on my side that what is the problem. When aler is generated, i see the MTE goes red and then alert status shows " Action required". However if I change the method to email, i receive emails. it is only SNMP which does not  work.
Can you tell if i need to setup special parameter in SNMP method which i am missing. I did the following:
HOST - Tivoli server
Trapsort - UDP
Port - 162
MIB_DIR = /usr/sap//SID/SYS/exe/run/MIBS
Also is there any settings which Tivoli team has to do for receiving traps? It is possible for you to share the setup document? you can send it to me on [email protected]
Thanks for ur help.
Pavan

Similar Messages

  • Creating SNMP Trap Monitors in 2012 R2

    Hello,
    For the past week or so  I have been attempting to create a MP for my company's UPSs to be monitored in SCOM 2012 R2. I have created a custom MP with custom datasources and objects. All seems to go according to the plan until I attempt to create a SNMP
    Trap monitor for those objects. I am able to verify that the device is discovered and is sending the traps successfully with a view. The problem seems to lie within the setup of the monitor. I have followed the steps as much as I can from this page http://technet.microsoft.com/en-us/library/hh563870.aspx
    to create a monitor that will be triggered by an incoming trap saying the UPS is on Battery Power.
    This is the initial or trigger event information received by SCOM:
    <EventData>
    <DataItem type="System.SnmpData" time="2014-07-03T08:48:07.6990732-07:00" sourceHealthServiceId="26DF02E5-DEA0-BED0-443B-3605A05D4790">
    <Source>10.51.85.40</Source>
    <Destination>127.0.0.1</Destination>
    <ErrorCode>1</ErrorCode>
    <Version>1</Version>
    <SnmpVarBinds>
    <SnmpVarBind>
    <OID>.1.3.6.1.2.1.1.3.0</OID>
    <Syntax>67</Syntax>
    <Value VariantType="19">17567220</Value>
    </SnmpVarBind>
    <SnmpVarBind>
    <OID>.1.3.6.1.6.3.1.1.4.1.0</OID>
    <Syntax>6</Syntax>
    <Value VariantType="8">.1.3.6.1.4.1.318.0.5</Value>
    </SnmpVarBind>
    <SnmpVarBind>
    <OID>.1.3.6.1.4.1.318.2.3.3.0</OID>
    <Syntax>4</Syntax>
    <Value VariantType="8">UPS: On battery power in response to an input power problem.</Value>
    </SnmpVarBind>
    <SnmpVarBind>
    <OID>.1.3.6.1.6.3.1.1.4.3.0</OID>
    <Syntax>6</Syntax>
    <Value VariantType="8">.1.3.6.1.4.1.318</Value>
    </SnmpVarBind>
    </SnmpVarBinds>
    </DataItem>
    </EventData>
    This is the event should signal that everything is operating normally once again.
    <EventData>
    <DataItem type="System.SnmpData" time="2014-07-03T08:48:12.9133769-07:00" sourceHealthServiceId="26DF02E5-DEA0-BED0-443B-3605A05D4790"><Source>10.51.85.40</Source>
    <Destination>127.0.0.1</Destination>
    <ErrorCode>1</ErrorCode>
    <Version>1</Version>
    <SnmpVarBinds>
    <SnmpVarBind>
    <OID>.1.3.6.1.2.1.1.3.0</OID>
    <Syntax>67</Syntax>
    <Value VariantType="19">17567730</Value>
    </SnmpVarBind>
    <SnmpVarBind>
    <OID>.1.3.6.1.6.3.1.1.4.1.0</OID>
    <Syntax>6</Syntax>
    <Value VariantType="8">.1.3.6.1.4.1.318.0.9</Value>
    </SnmpVarBind>
    <SnmpVarBind>
    <OID>.1.3.6.1.4.1.318.2.3.3.0</OID>
    <Syntax>4</Syntax>
    <Value VariantType="8">UPS: No longer on battery power.</Value>
    </SnmpVarBind>
    <SnmpVarBind>
    <OID>.1.3.6.1.6.3.1.1.4.3.0</OID>
    <Syntax>6</Syntax>
    <Value VariantType="8">.1.3.6.1.4.1.318</Value>
    </SnmpVarBind>
    </SnmpVarBinds>
    </DataItem>
    </EventData>
    You may notice that these traps are being sent as SNMP v1. I am unable to change that on the UPS so i have modified the monitors to account for that. Here is the code for the monitor:
    <UnitMonitor ID="UIGeneratedMonitorc2c65f3c85fe42f48ce8d2580c57bbae" Accessibility="Public" Enabled="true" Target="APC.MP.UPS" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SNL!System.NetworkManagement.SnmpTrapProvider.2SingleEvent2StateMonitorType" ConfirmDelivery="false">
    <Category>Custom</Category>
    <AlertSettings AlertMessage="UIGeneratedMonitorc2c65f3c85fe42f48ce8d2580c57bbae_AlertMessageResourceID">
    <AlertOnState>Warning</AlertOnState>
    <AutoResolve>true</AutoResolve>
    <AlertPriority>Normal</AlertPriority>
    <AlertSeverity>Error</AlertSeverity>
    </AlertSettings>
    <OperationalStates>
    <OperationalState ID="UIGeneratedOpStateId2750c1ab2cd14b4a8a8e9f4633eba0b0" MonitorTypeStateID="SecondEventRaised" HealthState="Success" />
    <OperationalState ID="UIGeneratedOpStateId5753748399984d08953c1a46895df99c" MonitorTypeStateID="FirstEventRaised" HealthState="Warning" />
    </OperationalStates>
    <Configuration>
    <FirstIP>$Target/Property[Type="SNL!System.NetworkManagement.Node"]/SNMPAddress$</FirstIP>
    <FirstVersion>1</FirstVersion>
    <FirstOIDProps>
    <OIDProp>.1.3.6.1.4.1.318</OIDProp>
    </FirstOIDProps>
    <FirstExpression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.6.3.1.1.4.1.0"]/Value</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">.1.3.6.1.4.1.318.0.5</Value>
    </ValueExpression>
    </SimpleExpression>
    </FirstExpression>
    <SecondIP>$Target/Property[Type="SNL!System.NetworkManagement.Node"]/SNMPAddress$</SecondIP>
    <SecondVersion>1</SecondVersion>
    <SecondOIDProps>
    <OIDProp>.1.3.6.1.4.1.318</OIDProp>
    </SecondOIDProps>
    <SecondExpression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.6.3.1.1.4.1.0"]/Value</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">.1.3.6.1.4.1.318.0.9</Value>
    </ValueExpression>
    </SimpleExpression>
    </SecondExpression>
    </Configuration>
    </UnitMonitor>
    I tried the following things while attempting to troubleshoot this issue:
    Leaving  First
    SnmpTrapProvider and Second
    SnmpTrapProvider blank while creating the monitor.
    Adding "" and also '' around the value as it is a string and perhaps that was the cause.
    Changing the First and Second SNMPTrapProvider to .1.3.6.1.6.3.1.1.4.1.0 since that is the specific OID I am looking for the value of.
    Reading every page of the internet and bashing my head on the keyboard.
     I am guessing that the issue will reside in the the monitor creation and definition, but I have not found anything that clearly describes how to fill out the SNMP Trap Monitor wizard given the trap info. Especially since the trap I am receiving does
    not seem to contain the usual OID with a common Int or string value.  Hopefully someone can provide assistance as I am nearing my wits end with this problem.

    Firstly, thank you Michael Skov, knowing that the First and Second SnmpTrapProvider or <FirstOIDProps> in the xml, needed to be blank got me pointed in the right direction. I figured I would come back and share my final working code snippet in case
    others run across a similar issue. 
    <UnitMonitor ID="UIGeneratedMonitorf9f671e5456c44fd807d6ec2bd09621d" Accessibility="Public" Enabled="true" Target="Disc!APC.Disc.UPS" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="NetworkManagement!System.NetworkManagement.SnmpTrapProvider.2SingleEvent2StateMonitorType" ConfirmDelivery="false">
    <Category>Custom</Category>
    <AlertSettings AlertMessage="UIGeneratedMonitorf9f671e5456c44fd807d6ec2bd09621d_AlertMessageResourceID">
    <AlertOnState>Warning</AlertOnState>
    <AutoResolve>true</AutoResolve>
    <AlertPriority>Normal</AlertPriority>
    <AlertSeverity>Warning</AlertSeverity>
    </AlertSettings>
    <OperationalStates>
    <OperationalState ID="UIGeneratedOpStateId8700c95344254f87a60c92d30d4a3953" MonitorTypeStateID="SecondEventRaised" HealthState="Success" />
    <OperationalState ID="UIGeneratedOpStateId7bf68c6cfe3d4faabe83e630781c7327" MonitorTypeStateID="FirstEventRaised" HealthState="Warning" />
    </OperationalStates>
    <Configuration>
    <FirstIP>$Target/Property[Type="NetworkManagement!System.NetworkManagement.Node"]/SNMPAddress$</FirstIP>
    <FirstVersion>1</FirstVersion>
    <FirstOIDProps />
    <FirstExpression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.6.3.1.1.4.1.0"]/Value</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">.1.3.6.1.4.1.318.0.5</Value>
    </ValueExpression>
    </SimpleExpression>
    </FirstExpression>
    <SecondIP>$Target/Property[Type="NetworkManagement!System.NetworkManagement.Node"]/SNMPAddress$</SecondIP>
    <SecondVersion>1</SecondVersion>
    <SecondOIDProps />
    <SecondExpression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.6.3.1.1.4.1.0"]/Value</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">.1.3.6.1.4.1.318.0.9</Value>
    </ValueExpression>
    </SimpleExpression>
    </SecondExpression>
    </Configuration>
    </UnitMonitor>

  • After upgrading to NX-OS 5.04, out snmp traps monitoring system is not generating ticket / incident for the snmp traps and my question is whether we need to apply new MIBS for that?

    after upgrading to NX-OS 5.04, out snmp traps monitoring system is not generating ticket / incident for the snmp traps and my question is whether we need to apply new MIBS for that?

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • SNMP traps not capture in SCOM

    we required to capture traps sent from the proofpoint(linux base) device - snmp v2 and display on SCOM but it does not work. we can saw the traps reach SCOM by using network trace. 

    Hi
    Check this
    http://stefanroth.net/2014/04/07/scom-2012-snmp-traps-how-the-heck-do-i-get-it-working/ and thishttp://blogs.technet.com/b/kevinholman/archive/2015/02/03/snmp-trap-monitoring-with-scom-2012-r2.aspx
    and this
    http://blogs.msdn.com/b/wei_out_there_with_system_center/archive/2014/02/15/opsmgr-customizing-the-snmp-trap-collection-rule-for-all-snmp-version-traps.aspx .
    I think this should solve your Problems.
    Cheers,
    Stefan
    Blog: http://stefanroth.net If my post helped you, please take a moment to vote as helpful and\or mark as an answer

  • 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.
    Lior

    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

  • SCOM 2012 SP1 - Show on event view all snmp trap (SNMP monitoring work)

    Hello everybody, 
    Sorry for my english, I write normaly in french, but we have more result in english. 
    I have a problem with SCOM 2012. I try to catch all snmp traps sended by a 2960 CISCO switch on a EventView with a specific rule (Authoring->Rule->Collection Rules -> Event Based -> SNMP Trap (Event) based on the object target "Node")
    I creat a specific management pack juste for the rule and the views. 
    SNMP Monitoring - CISOC 2960 => It's OK, I can have the processor state, utilization, etc ...
    SNMP Monitoring Ubuntu computer => It's OK, I can have all the state I want.
    SNMP Traps => The switch or the computer send traps over the network, and I can see in wireshark, the server receive the traps
    SNMP Service (Windows service) => Disabled
    SNMP trap (Windows service) => Disabled
    Health Service (Windows service) => Enabled
    Port 162 UDP => Open and listenning by the MonitoringHost.exe
    Firewall rules => Everythinks is OK
    SNMP Trap send version is => 2c
    SNMP Monitoring device version is => 2c
    I try too many of solution on different web site like :
    http://scom-2012.blogspot.ch/2012/07/setting-up-snmp-monitoring-in-scom-2012.html
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/731661b9-10a1-4d3f-ba83-8e84d25ab760/event-collection-for-network-devices-scom-2012
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/a15bce49-fb62-4fd4-93cf-f87c3b734d58/snmp-trap-based-monitoring?forum=operationsmanagergeneral
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/41f5b6ef-c8b9-461d-bdcb-81fde5a89f50/scom-2012-unable-to-monitor-snmp-traps?forum=operationsmanagergeneral
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/4051fbd1-06f1-49e0-9ad4-4cbe4d2d7d4d/discover-windows-computer-as-network-device-w-snmp?forum=operationsmanagerauthoring
    http://technet.microsoft.com/en-us/library/hh563870.aspx
    http://social.technet.microsoft.com/Forums/en-US/cad1d3f9-594f-4f06-a5aa-660ccc2e9192/snmp-trap-based-monitoring-in-scom-2012-sp1?forum=operationsmanagerauthoring
    http://social.technet.microsoft.com/Forums/en-US/41f5b6ef-c8b9-461d-bdcb-81fde5a89f50/scom-2012-unable-to-monitor-snmp-traps?forum=operationsmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/e05a1c8f-7280-4f80-86cf-aabb4269bb87/scom-2012-customizing-snmp-trap-event-data?forum=operationsmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/6826f6a6-bbc3-444b-9b18-288d7fedac3e/scom-unable-to-monitor-snmp-traps?forum=operationsmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/7cd1571a-d292-4efc-9921-5a068f6f1691/scom-2012-sp1-ur2-snmp-monitoring?forum=operationsmanagermgmtpacks
    Do you know a workaround? Or a different way to catch all the traps from a network device and show them (traps) on a event views.
    Thank you in advance. 
    KimBaxZ
    Computer expert system technology

    Hello Yan Li,
    I read your link, and I found this : 
    The network devices must be discovered and registered as ICMPSNMP devices.
    And when I make the dicovery the first time, ICMP doesn't work, so I put only SNMP. This morning I tried with ICMP and SNMP, but the same problem come to me. And I found the rootcause of the problem with this post : http://www.code4ward.net/main/Blog/tabid/70/EntryId/105/Troubleshooting-Network-Discovery-in-SCOM-2012.aspx
    I allowed the SNMP service, ping, and Health Service, just after I try a second time to dicover my device and it's work (ICMP and SNMP).
    I recreat all my management pack and the rule. And now it's work! Thank you very much for your help!!
    Have a nice day
    Best regards
    KimBAxZ
    Computer expert system technology

  • 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

  • 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 you

    Hello 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

  • CCMS agents, alert monitoring, SNMP traps

    Hi Guys,
    I have a question. There is a requirement about monitoring. Any documenation or links will be really appreciated.
    My client needs me to use CCMS agents, alert monitoring for both ABAP and JAVA stacks, SNMP traps, sending SNMP traps, interface CCMS with third party monitoring tools. Mostly, the ,monitoring is done thru RZ20.
    Anybody can point me in right direction or material.
    Thanks
    Venky

    Hi,
    Check these CCMS Weblogs. Really good ones...
    /people/federico.babelis2/blog/2006/04/26/ccms-rule-based-monitors-configuration-guide-for-dummies
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    Feel free to revert back.
    --Ragu

  • SNMP traps to monitor the signal strength on wireless AP

    What snmp notification type should I enable on wireless AP to monitor the signal strength of the connected  devices  to the AP. What is the associated MIB for this SNMP trap.

    Hi karthikeya,
    Here is the link which gives us the info regarding the available MIB for the respective Model..
    http://tools.cisco.com/ITDIT/MIBS/MainServlet?ReleaseSel=3469&PlatformSel=9&fsSel=1292
    Please select the Device part number and then chose the MIB that you require.
    lemme know if this answered your question..
    Regards
    Surendra
    ====
    Please dont forget to rate the posts which answered your question and mark it as answered or was helpfull

  • ASA /Router -SNMP Trap when IP SLA monitored (ICMP timeout)

    Hi,
    I am looking for some solution for my below requirment
    Requirment is :
    How do I configure ASA or Router to send SNMP Trap when IP SLA monitored  features enabled (ICMP request or 900 millisecond delay from destination IP)
    Thanks in advance..

    Hi,
    Maybe this thread might help you?
    https://supportforums.cisco.com/thread/2039293
    I have not personally configured these type of SLA configurations on an ASA other than for testing purposes. We handle Dual ISP setups outside the ASA firewalls.
    - Jouni

  • Setting SNMP counter monitor trap polling interval and threshold

    Hello,
    I want to send a trap when the WLS heap reaches a high water mark.
    My questions are:
    1) with a threshold of 10MB, I receive the trap when heap is 256MB. 256MB is
    teh max heap setting when starting jvm. Why do I receive the trap @ 256MB and
    not at 11MB?
    2) With a polling interval of 30 seconds and offset/modulus of 0, I expect to
    receive a trap every 30 seconds for as long as the heap is over 10MB. I only
    receive the trap once @ 256MB. Why don't I receive multiple traps?
    I'm using the SNMP counter monitor where:
    mbean type = JVMRuntime
    mbean name = MainServer
    monitored attribute = HeapSizeCurrent
    polling interval = 30 seconds
    threshold = 10000000
    offset = 0
    modulus = 0
    I'm using WLS 7.0 SP1 with WebLogic Temporary Patch for CR090721 12/06/2002 15:08:40
    Thanks,
    BT

    Jing,
    Could you please post how your config.xml looks after you set this Trap?
    Also, once you configured a monitor trap, you need to re-start the admin
    server. For more information on how to setup a counter monitor refer to
    the BEA docs at,
    http://e-docs.bea.com/wls/docs61//snmpman/snmptraps.html#1071147
    Thanks,
    -satya
    xcjing wrote:
    >
    I set a SNMP Counter Monitors on weblogic6.1sp2, I want when the servlet xcj3 is
    reload more than 2 times
    then send a trap nitification, the attribute I set is:
    Monitored MBean type: ServletRuntime
    Monitored MBean name: examples:Name=xcj3,ServerRuntime=examplesServer,Type=ServletRuntime,Location=examplesServer
    Monitored Attribute Name: ReloadTotalCount
    Polling Interval: 1 second
    Threadhold: 2
    offset: 0
    modulus: 0
    the SNMP Counter Monitor I set cannot work, can anyone tell me what wrong it is??
    thank you very much!!!
    by the way, the SNMP Log Filter I set is work well on my weblogic6.1.

  • Can custom standard MBean's properties be monitored to generate SNMP traps

    I am trying to setup a trap monitor (Counter) to detect the
    change in a property of my custom MBean, which gathers
    runtime statistics for our application.
    Here is the MBean interface:
    public interface BOStatusSummaryRuntimeMBean {
    public int getTotalClientRequestsCount();
    I've registered the implementation MBean, through the startup class, with the
    following code:
    MBeanHome wlmbsh = (MBeanHome) ctx.lookup("weblogic.management.adminhome");
    MBeanServer mbs = wlmbsh.getMBeanServer();
    ObjectName myName = new ObjectName("businessobjects:Location=bo_server,Name=BOStatusSummary,
    Type=BOStatusSummaryRuntime");
    BOStatusSummaryRuntime mbean = new BOStatusSummaryRuntime();
    mbs.registerMBean(mbean, myName);
    This is the setup for the Counter trap:
    MBean Type: BOStatusSummaryRuntime
    MBean Name: BOStatusSummary
    Attribute Name: TotalClientRequestsCount
    PollingInterval: 1
    Treshold: 1
    Offset: 1
    Modulus: 0
    The MBean is available and I can see the property changing, as I execute client
    applications, but SNMP traps are not generated.
    Applying the same monitor on a Weblogic's MBean (Type=EJBComponent, Attribute=DeploymentOrder)
    for one of the deployed EJBs, works fine and traps get generated.
    I would appreciate if someone can point me in the right direction ...
    Regards,
    Darko Bohinc
    Consultant

    I was hoping Adobe had something that could be used, or am I stuck using php or Javascript and just doing this with custom scripting?
    I think you will have to do the latter.  While you are thinking about writing the PDF file, don't overlook fpdf (google it)....

  • BGP Peer down monitoring through SNMP Traps

    Hello,
    I'm trying to figure out how I can monitor with BGP peer went down using SNMP traps or any other methods that are out there. Basically I would like to get a trap that tells me the IP address of the peer that went down.
    Looking over the SNMP MIBs for BGP all i can find is snmp traps that tell me there was a change in states in BGP, but don't say which neighbor.
    Is there any way to get such information? Would I have to use EEM with some script? This seems like a very common thing that people would want to know.
    Thank you in advance,
    Tom

    SNMP notifications can be configured on the router and GET operations can be performed from an external management station only after BGP SNMP support is enabled.
    SUMMARY STEPS
    1. enable
    2. configure terminal
    3. snmp-server enable traps bgp [state-changes {[all] [backward-trans] [limited]}] | [threshold prefix]
    4. exit

  • SCOM 2012 unable to monitor SNMP traps

    After installing SCOM 2012 I did not
    get the SNMP Trap. I tried the solution
    of the topics http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/6826f6a6-bbc3-444b-9b18-288d7fedac3e Nothing
    has helped.
    Help please, why SCOM can
    not take Traps?

    We had the an issue where device was sending SNMP v1 traps as per Wireshark but the device was discovered as a SNMP v2 device. We forced the device to be discovered as a SNMP v1 device and that worked.
    To do so, after you add the device that needs to be discovered within the discovery rule, export the MP called Network Discovery Internal. Open this in notepad and browse to the IP address of your device that needs to be discovered. Change the value for
    "AutoDetect" to v1 in case you want to discover his as a V1 DEVICE. Then you will be able to receive traps from the said device that got discovered.
    <SeedSystem>
                      <SeedIPorName>10.100.x.x</SeedIPorName>
                      <Version>AUTODETECT</Version>
                      <SNMPPort>161</SNMPPort>
                    </SeedSystem>
    Hope this helps.
    Kapil Dham

Maybe you are looking for