How to Configure SNMP Counter Monitors

Hi there,
I want to receive a SNMP trap if attributes of the SNMP Agent (JMX
MBeans) change in WLS 6.1. I'm playing around with the PetStore
example that is part of the package. I enabled SNMP and configured
localhost as a TrapHost, great ! Now I want to configure a couple of
Counter and Attribute Monitors. What do I put for
Monitored MBean Type
Monitored MBean Name
Monitored Attribute Name
if I want to monitor e.g.
ejbEntityHomeRuntimeTransactionsCommittedTotalCount Attribute in the
EJBEntityHomeRuntime Table ??
I have trouble getting it working,
thanks for any help,
Alex
Bonus question: Do I need to do this always with the Admin Console or
can I edit the config.xml file myself ?

well, here is the way you can set up a SNMP String Monitor for monitoring
the changes to the FileName attribute in the LogMBean:
Monitored MBean Type - Log
Monitored MBean Name - myserver
Monitored Attribute Name - FileName
The easiest way to figure these attributes is with the help of the
JavaDocs for MBeans. Please verify the data type that the method returing
attribute that you are trying to monitor with the type of the monitor you
are trying to set.
ie, you cannot setup a String monitor for a boolean attribute in the
mbean.In the case above, the getFileName method returns a String object,
so it makes sense to set a String monitor for it!
You can setup your monitor for EJBEntityHomeRuntime in a similar fashion!
Its not necessary to specify the complete ObjectName in the
MonitoredMBeanName. as the WLS constructs it automatically from the the
Name, Type and the target to which you target this trap monitor.
Hope this helps,
Mihir
Alex wrote:
Hi there,
I want to receive a SNMP trap if attributes of the SNMP Agent (JMX
MBeans) change in WLS 6.1. I'm playing around with the PetStore
example that is part of the package. I enabled SNMP and configured
localhost as a TrapHost, great ! Now I want to configure a couple of
Counter and Attribute Monitors. What do I put for
Monitored MBean Type
Monitored MBean Name
Monitored Attribute Name
if I want to monitor e.g.
ejbEntityHomeRuntimeTransactionsCommittedTotalCount Attribute in the
EJBEntityHomeRuntime Table ??
I have trouble getting it working,
thanks for any help,
Alex
Bonus question: Do I need to do this always with the Admin Console or
can I edit the config.xml file myself ?

Similar Messages

  • How to set SNMP Counter Monitor on weblogic61

    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.

    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.

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

  • How to configure SNMP on all managed client using SCCM 2012 SP1

    hi ,
    do you know  How to configure SNMP on all managed client using SCCM 2012 SP1?

    As a side note, I made an interesting discovery last week: the SNMP Service is deprecated in Windows Server 2012. Why would you want to use SNMP on an actual Windows OS though? There are far better ways available to monitor Windows. I'm sure that lines
    up with why they deprecated it.
    Jason | http://blog.configmgrftw.com

  • How to configure SNMP on SG300 using CLI

    Hi,
    Does anyone know how to configure SNMP on the Cisco SG300 switches? I have the SG300-10P. I am not fully familiar with the new command line interface on this device, it was easy on the IOS but finding it a nightmare on this one.
    I put the following command in but it didnt work.
    snmp-server view Interfaces interfaces included
    snmp-server community ACB123 ro 10.x.x.x view default
    I tried to follow the guidelines on the cisco website but thats all Web interface based, i can only access the switch remotely via CLI.
    Thanks

    Hi Rafik, here is a basic snmp v1/v2 configuration
    snmp-server server
    snmp-server community test1234 rw view DefaultSuper
    This is basically wide open to anyone who knows the password. This should be enough to get you started then you can tweak additional options as you go. Give this a test, see if you can do what you're trying to do then modify this sample to work for your security needs.
    -Tom
    Please mark answered for helpful posts

  • How to configure snmp on loopback interface, on vrf TEST, in ASR 9000 series

    Hi there!
    How to configure snmp v2, with community string, for ASR 9000 series, in interface loopback 1, that has vrf TEST
    Regards!

    oh that is somewhat vague, but let me try...
    in order to enable snmp access to an interface in a vrf you need to enable MPP (management plane protection) in that vrf.
    Something like this:
    control-plane
     management-plane
      inband
       interface Loopback100
        allow all
    if you have this and it doesn't work, a config snippet and some debugs (like debug snmp packet) will help to define what to do next.
    regards
    xander

  • How to configure snmp host in IPM?

    Hi!!! I have CiscoWorks 2000 Rwan with IPM. I installed and configure IPM to send snmp traps when the treshold is excedeed. I can see on the graph that it is exceeded but I can not verify that it sending snmp traps.Where to view these traps and how to configure snmp reciver host?
    Can I use CW2k syslog analyzer automated action to generate mail when get this trap?
    THANKS FOR ANY HELP!!!!
    Regards
    Enes

    Hi,
    As you've discovered, IPM can help configure
    these traps:
    http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/ipmcw2k/cipm25/ug/ipmfaq.htm#62205
    But, you'll need to specify a dedicated NMS
    server to receive these traps. The following
    documentation should prove to be useful:
    http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa5.shtml
    http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a05.shtml
    You can use the appropriate "debug" command on
    the router to confirm that traps are, in fact,
    being sent.
    The traps themselves are defined in the
    CISCO-RTTMON-MIB.my and cannot interact
    with the CW2000 syslog analyzer automated
    action.
    Thanks,
    Roger

  • How to configure the database monitoring (DBA Cockpit) after Support pack

    Hi,
    I did the Support Pack Upgrade for BW system and i ran SGEN as well, now i need to configure the database , could you please suggest how to configure the database monitoring (DBA Cockpit) after Support Pack Upgrade.
    Server is MSSQL , Component is SAP NetWeaver 2004s and OS is Windows NT.
    Plesae suggest.
    Chandu.

    Hi,
    You are right. SAP delivers this functionality from SP-12. So when you have applied the SP-12, you must have done these config steps to enable the DBA Cockpit.
    If you have done these steps earlier, So you must have DBA Cockpit enable right now and putting extra SPs like 13, 14 and so on, should not be a matter.
    Now if you have not performed those config steps before, Please do them now and you will be able to use DBA cockpit.
    Please understand that SP12 is the base to run DBA Cockpit.
    With Regards,
    Saurabh

  • How to configure SNMP agent for Oracle 10g

    Hello,
    I've installed oracle 10g in a Windows 2000 SP4 and I want to monitor database using SNMP.
    I've already installed Windows SNMP agent but I haven't any idea how to configure Oracle in order to grant SNMP monitoring.
    What should I do?
    Is Oracle database ready to be monitored via SNMP by default?
    Thanks in advance for your help.
    Regards,
    Carles

    Hello,
    Thanks for your message.
    In fact, I already found this doc in oracle, but it just show executables I have to install and my question can I install these executables.
    I've already installed Windows SNMP agent, configured and testedwith disk space checkings, but it doesn't work fine with Oracle.
    I launched Oracle Universal Installer and I checked Installed Products, but I haven't found how to install SNMP agents for oracle.
    How can I add Oracle Peer Master Agent and Encapsulator to my oracle installation?
    Thanks again for your help.
    Regards,
    Carles

  • How to configure serverStats to monitor linux machines

    Hi,
    Please let me know what i need to configure on my linux servers in order to be able to monitor the resources when i will run a load test.
    From where to begin? I see that i have the Manage Tab and also the ServerStats in Oracle Load Test?
    I installed Oracle Application Testing Suite on my windows machine. I have installed on this machine all the components : Data Collector and Agent Manager. From this machine I want to monitor my linux servers and I'm not able to add them as Monitors. Please let me know what I need to install on the linux servers and how to add this servers as Monitors. The 2 servers are WebLogic servers.
    Do I need to configure SNMP on servers?
    Please send my an answer.
    Thanks a lot!

    Hi,
    Pls look at the below link
    [http://help.sap.com/saphelp_smehp1/helpdata/en/b3/64c33af662c514e10000000a114084/frameset.htm|http://help.sap.com/saphelp_smehp1/helpdata/en/b3/64c33af662c514e10000000a114084/frameset.htm]
    [Monitoring your SAP NetWeaver Components|Monitoring your SAP NetWeaver Components]
    Thx,
    waseem

  • How to configure SNMP in solaris 10

    i am working on solaris management console .i want to configure snmp for this to send traps regarding system performance and cpu usage ..can any body know ho to do this

    Integration of Directory Server SNMP agent with Solaris Master agent is documented in the Administration Guide Chapter 14: Monitoring Directory Server using SNMP.
    http://docs.sun.com/source/817-7613/snmp.html
    Regards,
    Ludovic.

  • How to configure snmp on solaris 10

    hi, i am working on solaris management console(smc) .i want to configure snmp for this to send traps regarding my system performance and cpu usage ..can any body know ho to do this

    I could use some help with this as well ... so far I have been unable to find a clear and concise document that can walk me through configurin gSNMP. Clean Solaris 10 installation, snmpdx is running - now how do I configure it? Better yet, how do I disable snmpdx and run net-snmp?
    Please, someone help or at least paste a link to an article somewhere...

  • How to configure snmp on solaris 10 for sending traps to any EMconsole

    i am working on solaris management console(smc) .i want to configure snmp for this (smc)to send traps regarding system performance and cpu usage ..can any body know ho to do this .i am new to solaris ..learned some basic administration of it ..

    I could use some help with this as well ... so far I have been unable to find a clear and concise document that can walk me through configurin gSNMP. Clean Solaris 10 installation, snmpdx is running - now how do I configure it? Better yet, how do I disable snmpdx and run net-snmp?
    Please, someone help or at least paste a link to an article somewhere...

  • How to configure SNMP on DMS or DMP?

    for the first, English is not my mother tounge, so I may write a lot of mistake of my words.
    One of my customer want to infomation of DMP that is down or up with SNMP tool.
    I had download the tool named 'SNMP TESTER' and test with DMP, and DMS.
    But the DMP has no SNMP configure set module or command. Only DMM has one sections of it's administrator - settings.
    I changed the DMM setting like this
    Queries
    Query Operations : Enabled
    Read Community : public
    Notifications
    Notification Operations : Enabled
    Hostname or IP Address : 172.16.100.143
    Port : 162
    Trap Community : public
    ==========================================================
    and my SNMP tester settings below.
    Host name or address : 172.16.100.251
    Community name : public
    and these are logs of fail to test.
    2012-11-07 17:27:04 - Starting SNMP test...
    2012-11-07 17:27:04 - Connecting to
    [email protected]
    2012-11-07 17:27:05 - ERROR: Unable to complete the test.
    2012-11-07 17:27:05 - ERROR: Data is incorrect (13)
    2012-11-07 17:27:05 - [SNMP status] .1.3.6.1.2.1.1.1.0, .1.3.6.1.2.1.1.5.0, .1.3.6.1.2.1.4.1.0: No such name (#1)
    ==========================================================
    My SNMP tester installed PC IP : 172.16.100.143
    DMM : 172.16.100.251(Version 5.2)
    DMP 4400 : 172.16.100.85 (UP status)
    The SNMP service looks enabled. In fact, I'm not sure it's configure is right and working.
    I'm not close to SNMP. So, I hope your experts will show me greatful kindness.
    just two thing that the customer wants is simple.
    OID number status 2 code and show them to within SNMP Tester. (UP & Down  2 status OID code needed)
    How can I test the SNMP service is working and Showing the status of DMP within SNMP Tester?
    P.S I attached the SNMP Tester program for your testing.

    Hi Rafik, here is a basic snmp v1/v2 configuration
    snmp-server server
    snmp-server community test1234 rw view DefaultSuper
    This is basically wide open to anyone who knows the password. This should be enough to get you started then you can tweak additional options as you go. Give this a test, see if you can do what you're trying to do then modify this sample to work for your security needs.
    -Tom
    Please mark answered for helpful posts

  • How to configure snmp for oracle

    can any one send a document in configuring snmp for oracle

    Go to http://tahiti.oracle.com
    Search for SNMP
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Running Out of Space... Help!

    The hard drive on my 250 GB Macbook is almost full (I have 1 GB left).  My 500 GB external hard drive is almost full (I have 23 GB left and it requires 27 GB to do the daily back-up).  Without buying a new laptop with a bigger hard drive and without

  • Dynamic Load Balancing

    We have developed Client Server Communication through Tuxedo Server and Workstation Client. This approach should handle 500 concurrent requests. We want to configure our Tuxedo Server in such a way that it could handle all the Requests in parallel. C

  • Show javascript window after closing

    Hi, how to show the "javascript window" with my custom buttons again after it has been closed? I have a submenu with menu item (supposed "Show Buttons"), which calls a function for generating of buttons. After this window has been closed, the custome

  • Hide button in ribbon bar in dispform.aspx

    Is there any way to hide or remove the "Edit Item" button in the ribbon bar of the dispform.aspx in a single list? I know that giving the user "read only" permission would grey out the button but this is not the intended approach. Hiding the complete

  • How to use session state protection

    I use Apex 3.2.1 I access my site by a url passing a parameter like this : f?p=101:1:0::::ITEM1:1234567. There is no login and password to access the site. The value of the parameter ITEM1 is the authorization of the first page, with a database funct