7 Replies Latest reply on Sep 16, 2016 5:37 AM by Bhuvaneswaran Ekanathan

    Populate custom slots in TrueSight Reporting

    Pawan N

      Hi All,

       

      We have TrueSight Reporting component installed in our environment.

      We need to bring some custom slots to the TrueSight Reporting component.

      The following steps are performed, but we are not able to see the custom slots.

       

      1) Added entries for custom slots in mcell.propagate located at BMCProactiveNetServerInstallationDirectory\pw\server\etc

       

      <slotName1>=f

      <slotName2>=f

       

      2) Added <classname>:<slotname> in "slots.new" entry in gateway.reportengine file located at  BMCProactiveNetServerInstallationDirectory\pw\server\etc

      3) Specified custom slot names in "com.bmc.sms.eventaggregator.event.customSlotNames" entry in the file internal.properties located at BMCProactiveNetReportEngineInstallDirectory\ReportEngine\tools\jboss\server\all\conf\properties\smsConsoleServer

      4) Restarted BMC TrueSight Infrastructure Management cell & BMC ProactiveNet Report Engine services

       

      Anyone has faced similar issue ?

       

      Thanks & Regards,

      Pawan.

        • 1. Re: Populate custom slots in TrueSight Reporting
          Bhuvaneswaran Ekanathan

          Hi Pawan,

           

          Check whether you have mcell.propagate in following paths [ entry in these path takes precedence over \pw\server\etc ] ,

           

          BMCProactiveNetServerInstallationDirectory\pw\custom\conf

           

          BMCProactiveNetServerInstallationDirectory\pw\server\etc\cellname

           

          If they exist, add the custom slots in mcell.propagate and repeat the steps.

           

          Check the same for gateway.reportengine

           

          Hope it helps

           

          Thanks,

          Bhuvan

          • 2. Re: Populate custom slots in TrueSight Reporting
            Pawan N

            Hi Bhuvan,

             

            Thanks for the suggestion.

            I found mcell.propagate file at BMCProactiveNetServerInstallationDirectory\pw\server\etc\cellname location & added custom slots in the file.

            I found gateway.reportengine only at BMCProactiveNetServerInstallationDirectory\pw\server\etc & ..\server\etc\default locations.

            Then, restarted TrueSight Infrastructure Management cell & BMC ProactiveNet Report Engine services, but still, I can't see the custom slots in Reporting.

             

            Am I missing something here ?

             

            Thanks,

            Pawan.

            • 3. Re: Populate custom slots in TrueSight Reporting
              Bhuvaneswaran Ekanathan

              Hi Pawan,

               

              Can you share mcell.propagate, gateway.reportengine and internal.properties files ?

               

              If possible, also share an export of test event that matched event propagation to report engine after you made the changes.

               

              'mc_propagations' 'mc_bad_slot_names' and 'mc_bad_slot_values' slots will provide more details of the issue.

               

              Thanks,

              Bhuvan

              • 4. Re: Populate custom slots in TrueSight Reporting
                Pawan N

                Hi Bhuvan,

                Following are the entries from-

                ---------------------------------------------------------------------------------------------------------------------------------------------------------

                1) mcell.propagate(last 2 entries for custom slots)

                # BMC Impact Manager 8.6

                # Configuration of slot propagation

                # Format:

                # SlotName=Value

                #    Where

                # SlotName = slot name or CLASS for class specific slots

                # Value = sequence of { b=backward f=forward }

                #

                 

                CLASS=f

                status=bf

                severity=f

                mc_priority=f

                repeat_count=f

                mc_owner=f

                mc_modhist=f

                mc_notes=f

                mc_operations=f

                msg=bf

                mom_AlertName=f

                mom_Category=f

                ---------------------------------------------------------------------------------------------------------------------------------------------------------

                2) gateway.reportengine(MOM_EV:mom_AlertName,MOM_EV:mom_Category for custom slots)

                slots.new=[severity,status,event_handle,mc_client_address,mc_tool,mc_tool_class,mc_host,mc_host_class,mc_original_severity,mc_original_priority,MOM_EV:mom_AlertName,MOM_EV:mom_Category,,$ALL]

                ---------------------------------------------------------------------------------------------------------------------------------------------------------

                3) internal.properties

                com.bmc.sms.eventaggregator.event.customSlotNames=mom_AlertName,mom_Category

                ---------------------------------------------------------------------------------------------------------------------------------------------------------

                We checked the baroc of events eligible for propagation to reporting engine.

                mc_propagations contain the entry of reporting engine component.

                mc_bad_slot_names and mc_bad_slot_values slots are blank.

                 

                We are not able to see our 2 custom slots(mom_AlertName,mom_Category) in the reporting BI console.

                 

                Thanks & Regards,

                Pawan.

                • 5. Re: Populate custom slots in TrueSight Reporting
                  Bhuvaneswaran Ekanathan

                  Hi Pawan,

                   

                  There is an extra comma in gateway.reportengine [before $ALL]

                   

                  slots.new=[severity,status,event_handle,mc_client_address,mc_tool,mc_tool_class,mc_host,mc_host_class,mc_original_severity,mc_original_priority,MOM_EV:mom_AlertName,MOM_EV:mom_Category,,$ALL]

                   

                  Also, prefer using syntax AS IS in the below link viz.,

                   

                  slots.new=\[slot1,slot2.....<className>:<customslot1>,<className>:<customslot2>,$ALL\]

                   

                  Viewing custom slot values - BMC TrueSight Reporting 9.6 - BMC Documentation

                   

                  Restart TSIM Cell and Report Engine Services and check again.

                   

                  Hope it helps

                   

                  Thanks,

                  Bhuvan

                   

                  • 6. Re: Populate custom slots in TrueSight Reporting
                    Pawan N

                    Hi Bhuvan,

                     

                    Followed the syntax & steps as it is, but no luck, still can't see custom slots in Reporting console:(

                    Any steps to be performed in BI launch pad to be able to see the custom slots ?

                     

                    Thanks,

                    Pawan.

                    • 7. Re: Populate custom slots in TrueSight Reporting
                      Bhuvaneswaran Ekanathan

                      Hi Pawan,

                       

                      I have not integrated TrueSight with TrueSight Reporting for Custom slots, so not very sure.

                       

                      I have used custom slots mapping for IBRSD and other gateway integrations and these steps worked fine. If you need to troubleshoot, you can enable cell trace and replicate the issue to understand the root cause.

                       

                      Most of the times, issue is due to custom slots not being propagated from cell to report engine. Some common issues are CLASS not defined properly, cell not recompiled after updating CLASS files, mcell.propagate is not updated in \pw\custom or \etc\cellname path which takes precedence over default \etc path, syntax is not correct in gateway file, custom slots names in CLASS and configuration files are different.

                       

                      \pw\server\log\cellname\mcell-log will provide more details from the trace

                       

                      pw debug - BMC TrueSight Infrastructure Management 10.5 - BMC Documentation

                       

                      If above could not solve the issue, recommend opening a support case.

                       

                      Thanks,

                      Bhuvan