2 Replies Latest reply on Aug 8, 2009 3:52 AM by Nitin Lall

    Runtime Error

      Share This:

      Hello,

       

      We have a BEM 7.1 patch17 instance which is recieving events from a MOM/SCOM msend integration. We have created a class MOM_EV for this purpose. We are seeing a lot of RUNTIME errors on the IX console and the trace files contain the following entries

       

       

      20090806 134635.107000 mcell: RULES: BMC-IMC110082E: Processing of refine_im_internal__dden_policy_rule(MOM_EV,0x17684e0) aborted (position in sources: )

      20090806 134642.092000 mcell: DATAPROC: BMC-IMC080014E: Data deletion failed: BMC-IMC032021E: Undefined class: <null>

      20090806 134642.092000 mcell: RULES: BMC-IMC110085E: Error 841 occured during processing of event 369: *** RUNTIME 841 *** PL_atom_to_string : arg1 : 0 is not an atom.

       

      --> in this case, the event gets created bu none of the enrichment policies get applied.

       

      20090806 205140.029000 mcell: RULES: BMC-IMC110082E: Processing of re_refine_start(0xa28188, _93 ) aborted (position in sources: )

      20090806 205140.029000 mcell: DATAPROC: BMC-IMC080014E: Data deletion failed: BMC-IMC032021E: Undefined class: <null>

      20090806 205143.076000 mcell: RULES: BMC-IMC110085E: Error 841 occured during processing of event 5269: *** RUNTIME 841 *** PL_atom_to_string : arg1 : 0 is not an atom.

       

       

       

      --> in this case, the event doesnt get created at all.

       

      Looking at the above example, we ruled out that the new event class is an issue since the event is still getting created.

      We tried to use just the base cell install and have installed the most latest patch as well, still didnt fix the issue believing its the im_internal.mrl rule file issue.

       

      Any suggestions or recommendations would be useful.

       

      Thanks,

       

      Nitin

        • 1. Re: Runtime Error

          nitinlall,

           

           

          As I see from the snippets of trace that you posted, there are a number of issues, and quite possibly, they are all related to the event class definition.

           

          Is the event that you say gets created actually a MOM_EV class event, or is it an MC_CELL_UNDEFINED class event?

           

          Could you post the definition of the MOM_EV class, as well as a sample event?

           

           

          Carlos

          • 2. Re: Runtime Error

            Hi Carlos,

             

            The MOM_EV event actually gets created just fine. Its only some of the events that get missed due to the errors (sending in text here, couldnt attach as baroc)

             

            1- Class file (MOM_EV)

            MC_EV_CLASS :

            MOM_EV ISA EVENT

            DEFINES

            {

            # mc_tool_class: default="SCOM 2007"; # fixed

            mc_tool_key: dup_detect=no; # internal

            mc_origin_key: key=yes,dup_detect=yes; # internal

            msg: dup_detect=yes;

            mom_AlertName: STRING; # map: mom_AlertName=slot.AlertName

            mom_Category: STRING; # map: mom_Category=slot.Category

            mom_ObjectName: STRING; # map: mom_ObjectName=slot.ObjectName

            mom_PrincipalName: STRING; # map: mom_PrincipalName=slot.PrincipalName

            mom_ResolutionState: STRING; # map: mom_ResolutionState=slot.ResolutionState

            mom_TimeRaised: STRING; # map: mom_TimeRaised=slot.TimeRaised

            mom_Type: STRING;

            mom_Tier: STRING;

            mom_CustomField1: STRING; # map: mom_CustomField1=slot.CustomField1

            mom_CustomField2: STRING; # map: mom_CustomField2=slot.CustomField2

            mom_CustomField3: STRING; # map: mom_CustomField3=slot.CustomField3

            mom_CustomField4: STRING; # map: mom_CustomField4=slot.CustomField4

            mom_CustomField5: STRING; # map: mom_CustomField5=slot.CustomField5

            };

            END

             

            2- An event that comes through perfectly for the MOM_EV class and

             

            MOM_EV;
            mc_ueid='opalisip6712_ITBMC5023.ko1tcv.056533';
            adapter_host='';
            mc_location='UK';
            mc_service='Gold';
            mc_host_class='';
            mc_host='xxmailxxx';
            mc_host_address='';
            mc_account='XXXXXXX';
            mc_object_class='SCOM_Alert';
            mc_object='';
            mc_object_uri='';
            mc_object_owner='';
            mc_tool_class='SCOM 2007';

            mc_parameter='Information_Store';
            mc_parametervalue='15d1367b-9527-480a-a435-fc7ca297d328';
            mc_parameter_unit='';
            mc_parameter_threshold='';
            mc_event_category=;
            mc_event_model_version='1.1.00';
            mc_incident_time=0;
            mc_incident_report_time=0;
            mc_arrival_time=1249719007;
            mc_local_reception_time=1249719007;
            date_reception=1249719007;
            date='20090808091007.000000+000';
            status=OPEN;
            severity=CRITICAL;
            mc_priority=PRIORITY_5;
            mc_owner='';
            mc_long_msg='';
            msg='xxmailxxx : The IS Virtual Bytes is outside the calculated baseline. The current value is 2103222272

            Category: PerformanceHealth
            Object Path: XXMAILXXX.----------;XXMAILXXX
            Object Health: Critical
            ManagementGroup: CA1
            RuleID: fda32684-8fcf-bbc2-5a3a-c61a039130ae
            ClassID: 5bf0069b-310c-02b3-17c9-dbe65d5d881a';
            mc_timeout=0;
            repeat_count=0;
            administrator='';
            mc_date_modification=1249719007;
            mc_notes=['0x4a7d32df','im_internal.mrl:dden_policy_rule','DDEN policy: BU_ENRICH matching: enrich-tag_2_1_2009_8_7_2:58:23PM in  enrich-tag_2','0x4a7d32df','im_internal.mrl:dden_policy_rule','DDEN policy: TIER_ENRICH matching: enrich-tag_1_111_2009_8_7_2:53:19PM in  enrich-tag_1'];
            mc_operations=['0x4a7d32df','im_internal.mrl:dden_policy_rule','BU_ENRICH','Dynamic Data Enrichment','','0x4a7d32df','im_internal.mrl:dden_policy_rule','TIER_ENRICH','Dynamic Data Enrichment',''];
            mc_notification_history=[];
            mc_bad_slot_names=[];
            mc_bad_slot_values=[];
            mc_history=[];
            mc_modhist=[];
            mc_relation_source='';
            mc_smc_id='';
            mc_smc_alias='';
            mc_smc_impact=0;
            mc_smc_type='';
              mom_AlertName='IS Virtual Bytes is outside the calculated baseline';
            mom_Category='PerformanceHealth';
            mom_ObjectName='';
            mom_PrincipalName='XXMAILXXX';
            mom_ResolutionState='0';
            mom_TimeRaised='08/08/2009 09:08:44';
            mom_Type='';
            mom_Tier='';
            mom_CustomField1='';
            mom_CustomField2='';
            mom_CustomField3='';
            mom_CustomField4='';
            mom_CustomField5='';
            END

             

            3- two examples of error message

                

            -- one where event does not gets created at all (error highlighted)

             

            MC_CELL_PROCESS_ERROR;

                                    mc_ueid='mc.CELLBEM01.a7d382f.0';

                                    adapter_host='';

                                    mc_location='';

                                    mc_service='';

                                    mc_host_class='Computer';

                                    mc_host='itbmc5022';

                                    mc_host_address='XXX.XXX.XXX.XXX';

                                    mc_account='';

                                    mc_object_class='Cell';

                                    mc_object='CELLBEM01';

                                    mc_object_uri='';

                                    mc_object_owner='';

                                    mc_tool_class='Cell';

                                    mc_tool='CELLBEM01';

                                    mc_tool_address='XXX.XXX.XXX.XXX/1829';

                                    mc_tool_uri='';

                                    mc_tool_time=1249720367;

                                    mc_parametervalue='';

                                    mc_parameter_unit='';

                                    mc_parameter_threshold='';

                                    mc_event_category=OPERATIONS_MANAGEMENT;

                                    mc_event_model_version='1.1.00';

                                    mc_incident_time=1249720367;

                                    mc_incident_report_time=0;

                                    mc_arrival_time=1249720367;

                                    mc_local_reception_time=1249720367;

                                    date_reception=1249720367;

                                    date='20090808093247.000000+000';

                                    status=OPEN;

                                    severity=MINOR;

                                    mc_priority=PRIORITY_5;

                                    mc_owner='';

                                    mc_long_msg='';

                                    msg='itbmc5022 : Error 841 occured during processing of event  20230: *** RUNTIME 841 *** PL_atom_to_string : arg1 : 0 is not an atom.';

                                    mc_timeout=0;

                                    repeat_count=0;

                                    administrator='';

                                    mc_date_modification=1249720367;

                                    mc_notes=[];

                                    mc_operations=[];

                                    mc_notification_history=[];

                                    mc_bad_slot_names=[];

                                    mc_bad_slot_values=[];

                                    mc_history=[];

                                    mc_modhist=[];

                                    mc_relation_source='';

                                    mc_smc_id='';

                                    mc_smc_alias='';

                                    mc_smc_impact=0;

                                    mc_smc_type='';

                                    cell_name='CELLBEM01';

                                    cell_location='XXX.XXX.XXX.XXX/1829';

                                    event='opalisip6704_ITBMC5023.ko1uen.056702';

                                    error_goal='refine_im_internal__dden_policy_rule(MOM_EV,0x78d960)';

                                    error_source='';

                                    error_code=841;

                                    error_message='';

            END

             

                            -- another where the event gets created but dynamic enrichment does not run to populate mc_location and mc_service (error highlighted)

             

            MC_CELL_PROCESS_ERROR;

                                    mc_ueid='mc.CELLBEM01.a7d34b2.1';

                                    adapter_host='';

                                    mc_location='';

                                    mc_service='';

                                    mc_host_class='Computer';

                                    mc_host='itbmc5022';

                                    mc_host_address='xxx.xx.xxx.xxx';

                                    mc_account='';

                                    mc_object_class='Cell';

                                    mc_object='CELLBEM01';

                                    mc_object_uri='';

                                    mc_object_owner='';

                                    mc_tool_class='Cell';

                                    mc_tool='CELLBEM01';

                                    mc_parametervalue='';

                                    mc_parameter_unit='';

                                    mc_parameter_threshold='';

                                    mc_event_category=OPERATIONS_MANAGEMENT;

                                    mc_event_model_version='1.1.00';

                                    mc_incident_time=1249719474;

                                    mc_incident_report_time=0;

                                    mc_arrival_time=1249719474;

                                    mc_local_reception_time=1249719474;

                                    date_reception=1249719474;

                                    date='20090808091754.000000+000';

                                    status=OPEN;

                                    severity=MINOR;

                                    mc_priority=PRIORITY_5;

                                    mc_owner='';

                                    mc_long_msg='';

                                    msg='itbmc5022 : Error 841 occured during processing of event  20201: *** RUNTIME 841 *** PL_atom_to_string : arg1 : 0 is not an atom.';

                                    mc_timeout=0;

                                    repeat_count=0;

                                    administrator='';

                                    mc_date_modification=1249719474;

                                    mc_notes=[];

                                    mc_operations=[];

                                    mc_notification_history=[];

                                    mc_bad_slot_names=[];

                                    mc_bad_slot_values=[];

                                    mc_history=[];

                                    mc_modhist=[];

                                    mc_relation_source='';

                                    mc_smc_id='';

                                    mc_smc_alias='';

                                    mc_smc_impact=0;

                                    mc_smc_type='';

                                    cell_name='CELLBEM01';

                                    cell_location='XXX.XXX.XXX.XXX/1829';

                                    event='mc.CELLBEM01.a7d34b2.0';

                                    error_goal='re_refine_start(0x1de95c0, _12366 )';

                                    error_source='';

                                    error_code=841;

                                    error_message='';

            END

             

             

            Thanks

             

            Nitin