How to define an event-pair by checking event description to create an event reset monitor?

Hi there,
We have one application which check connection status with sub component. If the connection is failed, an event will be created like the following
ID: 53428
Description: Connection to xxxx failed.
xxxx is the name of the components. There are about 20 components in total.
If the connection is restored, then another event will be created similar to the following
ID: 53429
Description: Successfully connected with xxxx.
I want to create an event reset type monitor. The issue I am having now is the unhealthy and healthy event are not just simply paired by the event ID but also the component name in the event description. The monitor should trigger the alert when event
53428 is detected, however the alert should only reset if event 53429 with the same component name is found.
How to do this?
I know this can be accomplished by using script. But is any SCOM native windows event monitor can handle this?
Thanks!

Thanks Roger. Your suggestion is also an option however it is not feasible. There are 15 servers in my case and each have about 20 components installed. In my first post, I just put the component names as illustration but in the reality, except the
component name, the event message also contains the link name like ServerName1 connection to ServerName2. The pair of event has to match both component name and also the link name. If I create one monitor for each possible combination, it would end up
as many as 300 monitors.
Script monitor is one for sure working. I just want to confirm whether any native SCOM windows event monitor is capable to do this.

Similar Messages

  • How to define custom event and how to trigger the defined event

    hi,guys
    hurry issue....................hope get help.
    I am using oracle weblogic 10gr3 portal.and we choiced java portlet.as of now,we got some question about custom Event.hope you can give some idea....
    thank you so much.
    question detail:
    1.for java portlet ,how to define custom event.
    2.how to trigger this event.
    3 about the data,may be sometime need to transit Biz data.
    auctully,I just want to implements between two portlets communicate.
    for example:
    existing portletA,portletB.
    portletA is a list,like:
    A AA <button>
    after I click this buttom,then portletB will be effect,it means they are interact with each other.
    does anybody hit this issue before,if you solved pls share me .
    thank you for you help....

    Hello,
    Please note that everything below applies to JSR168 portlets ONLY- JSR286 portlets and other portlet types handle events a little differently.
    From inside your JSR168 portlet you can send an event during processAction or when receiving another event by using the PortletBackingContext object, such as:
    import javax.portlet.ActionResponse;
    import javax.portlet.ActionRequest;
    import javax.servlet.http.HttpServletRequest;
    import com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext;
    public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
    HttpServletRequest httpRequest = (HttpServletRequest) actionRequest.getAttribute("javax.servlet.request");
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(httpRequest);
    portletBackingContext.fireCustomEvent("customEvent", "This is a custom event");
    To receive an event, in your .portlet file you just need to put in a "handleCustomEvent" tag specifying which method to call when the event is received, such as:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:javaPortlet title="Listening Portlet" definitionLabel="yourPortletName">
    <netuix:handleCustomEvent event="customEvent" eventLabel="customEvent" filterable="true" description="custom event handler">
    <netuix:invokeJavaPortletMethod method="processCustomEvent"/>
    </netuix:handleCustomEvent>
    </netuix:javaPortlet>
    </portal:root>
    Then, in your receiving portlet the method "processCustomEvent" would receive the event, such as:
    public void processCustomEvent(ActionRequest actionRequest, ActionResponse actionResponse, Event event)
    The event payload can be any Serializable object you want, but for forward-compatibility with JSR286 it would be ideal if it had a valid JAXB binding.
    Kevin

  • Can you define an event programmatically?

    Does anyone know how to define an event programmatically for a form object using JavaScript? My example is this:
    I am passing form fields to a validation function in a JavaScript object by calling scriptObj.addToValidation(this); from the field initialize event.
    The field object is added to a JavaScript array so I can check for null values of potentially hundreds of fields with one block of code. What I also want to do is define the click and enter events for each object programmatically from the addToValidation(obj) function while iterating through the array. This way I wont need to add code in each field in the design view, my goal is to take as much code out of the form fields as possible and put it into a script object using an object-oriented approach.
    A path I was looking down was trying to access the event by: fieldObject[i].event__change = ... If you print the event__change or event__enter to the javascript console you can see it is an XFAObject but I cant find any doco about these objects and dont know if Im on the right track.
    Hopefully this makes sense, please talk to me LC gurus!!

    Hi Thom,
    Thanks for your insights. Adding 2500 scripts through field duplication would be a solution, in which each field call a generic function according to:
    scriptObject.DoStuff(this, xfa.event);
    It's doable, although it's against my religion. :>
    I found out I can still propagate events down the object chain (or "up" according to Adobe's documention, a metaphor I find counter-intuitive) by manually adding the tag
    listen="refAndDescendents"
    to an event tag of the parent subform. To my relief, even though subforms don't listen to Change activities, the event does get propagated to children who do.
    On add-ins to Designer - are you referring to the experimental macro feature introduced in ES2?
    http://blogs.adobe.com/formfeed/2010/01/designer_es2_macros.html

  • How to trigger a event when WBS gets changed in Cj02

    Hello,
    I have a requirement where I need to send create an idoc and send the idoc to external system when WBS is created or changed.  Currently, I have the following setup:
       - I have created a YBUS2054 as a subtype of BUS2054 using SWO1
       - YBUS2054 has been delegated to BUS2054
       - created an CHANGED event in the YBUS2054. This event is implemented and then released
       - created a type linkage (object type=YBUS2054, event=CHANGED, receiver type null, and receiver function module = zz_create_wbs_idoc) using SWETYPV. This function is supposed to create an idoc when CHANGED event occurs. I just don't know how to trigger the event to occur.
       - all the port, define idoc type, logical system, and etc are setup
       - when I try to create an entry in "Event for Chagne Document" using SWEC with change doc object=PROJ, business object type = YBUS2054, with on change, I get "Key for change doc object PROJ and business object type YBUS2054 are incompatible".
    I tried various configurations, and I was not successfully in creating an event on CHANGED
    can you please advise what I am missing in getting the changed event to trigger?
    Thank you in advance,
    Shawn

    Hi,
    If the change doc doesnt exist, check if you can create an event using BSVW.
    Also use the event log to see if there are other sap standard events happening.
    I checked the package belonging to CJ02 to see if there is something useable, but didn't find anything: CN_PSP_OPR
    If there are no sap standard ways to get an event, you'll have to find a badi/enhancement spot and include some coding to start the event using fm SAP_WAPI_CREATE_EVENT.
    Kind regards, Rob Dielemans

  • How to trap the event before unlock of locked text frames

    How to trap the event before the message "You must check out the contents of this frame in order to make changes. Check out now?" for locked text frames?
    I have tried installing the service Responder kUserEditTextCmdResponder
    The responder event is fired after the unlock of text frame in this case.
    I was trying the service kEditCmdPreProcessService, but I could not find the companion interface for this service.
    How to find the companion interface?

    calle111 wrote:
    The answer to why i need the event executed if nothing has changed is that in my application the text ring will hold some predefined settings for some other controls. If the user selects one of the predefined settings from the text ring a bunch of other controls will take predefined values. These values in the other controls can now be altered by the user. If the user now wants to re-apply the same set of pre-defined settings as last time it should be as simple as selecting the pre-defined settings from the text ring. If now the same value is selected from the text ring, no event will be executed.
    What you should do instead is change the value of the ring to a "special" value (e.g. using a local variable) whenever one of the other settings change, indicating that the settings have been modified. It seems wrong to show an inconsistent value in the ring, right?
    Now, whenever you change it back to one of the default settings, is IS a value changed event and there is no problem. .
    Here's a quick draft.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    event_testerMOD.vi ‏10 KB

  • How to assign the events in a specific method in class builder(se24)

    i have declared one event in event part.i want to asign the event to one method .can any one help me .i have to do it in se24.pls

    hi,
    create a class in se24.
    <b>click the <b>EVENTS</b> tab, define an event.</b>
    <b>click the <b>METHODS</b> tab, define a method to trigger/ raise the event</b>
    <b>define one more method as an event handler method for the event.</b>
    for a method to be an event handler, click on the detail view,
    select the check box <b>Event Handler for</b>  give the classname where the event is defined and the event name, click on Change button.
    <b>event can be in the same class or different from that of the event handler method.</b>
    don't forget to <b>register the event handler method in the program.</b>
    click the code button of ur trigger method(meth2 in my example) and write there,
    raise event evt1.
    now your class is ready.
    now in se38 program,
    declare a reference variable to ur class,
    create an object,set the handler for ur event,
    call the trigger method
    <b>data:oref type ref to zsowcl1.
    create object oref.
    set handler oref->meth1 for oref.  handler method
    call method oref->meth2.           raise evnt method</b>
    hope it gives  you clear idea,
    Regards,
    Message was edited by:
            sowjanya s

  • How to define a Custom Action in VC 6.0 ?

    Hi all
    I want to know how to define a custom action like for a check box UI Element, I want particular action to be performed when it is checked ? How can I achieve this in VC 6.0
    Please feel free to ask me if my question is unclear ?
    Regards
    Kapil

    Hi,
    Try adding an expression element on your form.
    Go to the Expression control properties and in the Expression attribute enter
    IF(@Selected==true,"X"," ")
    @Selected is the checkbox. For your function call input use the expression element and not the checkbox.
    Hope this helps. Let me know if it works.
    Thanks.

  • How to define a logical system in BD21 (RBDMIDOC)

    Hi,
    We have several logical systems in our distribution model (BD64/WE20) liked to CREMAS message. One other them is the X server, for instance.
    When run BD14, it´s ok, because we can set the target system (X server in this case).
    However, when we work with change pointers, the BD21 doesn´t have a target system field and it´s based on distribution model. So, it sends IDOCs to
    all logical system. But we want to send to only X server.  
    Does anybody know how to define a target system in this case?
    Best regards,
    André Avilla
    Brazil

    Hi
    Check the below wiki.
    https://wiki.sdn.sap.com/wiki/display/EP/SystemCreationin+portal
    https://wiki.sdn.sap.com/wiki/display/EP/HowtoConnecttoBWSystemthroughEnterprisePortal7.0UsinganIView.
    Regards
    Basheer
    Edited by: Basheer on Jul 13, 2009 5:13 PM

  • How to define GL account for  House Bank?

    Dear Friends
    I maintained house bank sbi, house bank account and GL for house bank in FBZP. Then I maintained a Check lot in FCHI. When I was running F-58 and selected Check lot no as 8 as I maintained in FCHI, I am getting the following error:
    No G/L accounts are defined for bank SBI and payment method C
    Message no. F5459
    Diagnosis
    For the specified payment method C, in combination with house bank SBI, you have not specified a G/L account to which the posting is to be made under bank selection (Goto -> Account Determination).
    System Response
    Input not accepted.
    Procedure
    Correct your entries if they are incorrect. Otherwise ensure that the missing bank selection details are added.
    How to define GL for a Bank? Wht is T code?
    Thanks
    Chandra

    Hello,
          In FBZP assign payment method C to the bank account. and check while creating the bank account are give main bank account in FI12, account id.
    Hope this is clear, in case of problem revert me back.
    Regards,
    Sankar

  • How to define a BW system in Portal/VC 7.0

    Hi Experts
      Could you please update me step by step process on
      How to define a BW system in Portal/VC so that i can use Services/FM in VC model.
    Thanks in Advance

    Hi
    Check the below wiki.
    https://wiki.sdn.sap.com/wiki/display/EP/SystemCreationin+portal
    https://wiki.sdn.sap.com/wiki/display/EP/HowtoConnecttoBWSystemthroughEnterprisePortal7.0UsinganIView.
    Regards
    Basheer
    Edited by: Basheer on Jul 13, 2009 5:13 PM

  • How to define initialization parameters in iWS6.0sp2

    I need to define an initialization parameter in iWS6.0sp2, this parameter will be used by all my servlets in an web application.
    parameter name: paraName
    parameter value should be a string: "c:/xxx/xxx/xx"
    I want to get this parameter in my servlet using :
    getInitParameter("paraName")
    it looks like I need to define it in the web-apps.xml, but not sure.
    Can somebody tell me where and how to define it. Thanks in advance.
    John

    Hi,
    You can define initargs in servlets.properties file and refer that from web-apps.xml.
    check this link for more details
    http://docs.iplanet.com/docs/manuals/enterprise/50/servlets/war.htm
    Regards
    T.Raghulan.

  • How to interpret acpi events?

    Hi.
    I installed acpid and with a little tweaking of the handler.sh I got the basic actions to be recognized. Now, how can i get a list, or something, of all avalible events and thay're explanation.  Whan i monitor the /var/log/messages.log i often get 'ACPI group/action undefined: processor / CPU0' or '... termal_zone / TZ1'. How can i find out what those events meen, and how i can use them.
    edit: BTW, i tested the fn key and it seems to work with a lot of keys, including the one for seting up the brightness of the monitor. Does that have something to do with acpid?
    Last edited by KRTac (2008-07-17 00:03:19)

    I don't know that there is any definitive source where you can look up the ACPI events, their parameters and what they mean. Perhaps the ACPI specification (http://www.acpi.info/spec.htm) might have some info, but its 600+ pages of very boring reading. Also note that different manufacturers will use different events. When I moved from a Dell to a ThinkPad I had to modify my ACPI scripts to change names of a number of events and parameters.
    Probably the best you could do is log every ACPI event, run tail -f on the log file and put the laptop through its paces, noting which events correspond to which actions. Try things like opening/shutting the lid (if its a laptop), press various Fn buttons, unplug and plug in the AC cord, run the battery down to zero, run the temperature up as high as you can. This is basically what I did when I first set up my custom ACPI scripts.
    Another thing you should do is look at other peoples ACPI scripts. That will give you ideas about how to use ACPI events. Look up your laptop on http://www.linux-laptop.net/ and scan through the configs to see if anyone set up ACPI scripts.
    Finally, the Fn keys may or may not have to do with ACPI. You can check this by logging ACPI events. My Thinkpad sends an event for every Fn combination. However, some combos have an action hard-wired so that ACPI is not needed. For example, the monitor brightness probably does not have to do with ACPI.
    Good luck.

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • How to define complex type with table per record?

    Hi,
    for one of my tasks I'm dealing with XML export. After short investigation of the postings in the forum I found an acceptable solution:
    Re: Convert ABAP to XML and Vice versa
    The issue is that I need an XML file like this:
    <plant>
      <material>
        <purchases>data</purchases>
        <purchases>data</purchases>
        <purchases>data</purchases>
        <sales>data</sales>
        <sales>data</sales>
        <sales>data</sales>
      </material>
      <next material>
      </next material>
    </plant>
    So here are the questions:
    1. Is it possible (and how) to define such deep structured type where for each record (means material) there is at least 1 internal table connected to that record? That would let me use a record-2-DOM conversion and a standard DOM-2-XML renderer.
    2. Could anyone please provide a very simple and short example?
    Of course, I could write my own XML renderer and achieve what I need (without using DOM, simply write to file all the desired XML tags while looping at my *nested* tables), but if there is a way to define such a structured type and further to fill it with data, it would help me learn a little bit more about abap opportunities and would save me a bit more time to create a renderer.
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev

    Hi,
    You can declare deep structure as below
    TYPES : BEGIN OF ty_address,
              house(10) TYPE c,
              street(10) TYPE c,
            END OF ty_address.
    TYPES : BEGIN OF ty_itab,
             name(10) TYPE c,
             age      TYPE i,
             address  TYPE ty_address OCCURS 0,
            END OF ty_itab.
    DATA : i_address TYPE STANDARD TABLE OF ty_address,
           i_itab    TYPE STANDARD TABLE OF ty_itab.
    DATA : wa_address TYPE  ty_address,
           wa_itab TYPE  ty_itab.
    CLEAR :  wa_address,
             wa_itab.
    wa_address-house = 'House1'.
    wa_address-street = 'Street1'.
    APPEND wa_address TO i_address.
    wa_address-house = 'House2'.
    wa_address-street = 'Street2'.
    APPEND wa_address TO i_address.
    wa_itab-name = 'Test'.
    wa_itab-age  = 10.
    wa_itab-address[] = i_address[].
    APPEND wa_itab TO i_itab.
    Also check structure BSPL_GRID_FIELDCAT field CELL_COLOR

  • How to define JMX policy for the operation ALSBConfigurationMBean.getRefs

    Hello,
    I'm trying to configure the JMX policies of my Weblogic Server.
    I have followed the recommandations from the http://docs.oracle.com/cd/E13222_01/wls/docs100/ConsoleHelp/taskhelp/security/DefinePoliciesforMBeans.html link.
    I try to run the following code on a client side :
    ALSBConfigurationMBean lConfigMBean = (ALSBConfigurationMBean) lDomainMBean.findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE, null);
    lConfigMBean.getRefs-BusinessServiceQuery);
    I got the exception :
    Caused by: weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[], on Resource com.bea.wli.sb.management.configuration.DelegatedALSBConfigurationMBean Operation: invoke , Target: getRefs
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.isAccessAllowedInvoke(SecurityInterceptor.java:1173)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.checkInvokeSecurity(SecurityInterceptor.java:813)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:443)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
         at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544)
         at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380)
         at $Proxy154.getRefs(Unknown Source)
         at com.csg.cs.services.tech.TECH_RegistryService_1_RegistryPortImpl.getServiceRef(TECH_RegistryService_1_RegistryPortImpl.java:224)
         at com.csg.cs.services.tech.TECH_RegistryService_1_RegistryPortImpl.lookup(TECH_RegistryService_1_RegistryPortImpl.java:117)
         ... 63 more
    And so I want to setup the JMX policy to give the rights to my client. But in the JMX Editor the ALSBConfigurationMBean doesn't exist, and I don't know which bean I have to set up.
    Anyone do know where I can find how to define policy for the Operation "getRefs" of the "ALSBConfigurationMBean" ?
    thanks and regards

    OEG provides several filters for encryption (XML, S/MIME and PGP). It's also possible to accept client certificates via 2-way SSL or route to a destination over 2-way SSL. For further information check out the OEG docs.

Maybe you are looking for