1 Reply Latest reply on Mar 13, 2019 5:10 AM by Abhay Bhagat

    Configuration of JVM monitoring for Presentation Server and Elastic Search : TS-Self-Monitoring-JVM.mo

    Abhay Bhagat
      Share:|

      Dear Experts ,

       

      I am trying to configure the default(out of the box)  TSPS Infrastructure policy: TS-Self-Monitoring-JVM.mo  to monitor the below points

       

      Monitor locally or remotely the TrueSight Presentation Server and the ElasticSearch Java processes
      • Heap Memory Usage
      • Garbage Collector metrics
      • Class Loader metrics
      Plus additional metrics
      TS-Self-Monitoring-JVM

       

      Configuring PATROL for TrueSight Self-Monitoring policies using predefined policy templates - Documentation for BMC PATR…

       

       

      But getting the below error in the log files

       

      INFO:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[reConnectConfiguration] Environments that are down:TSPS_Elasticsearch

      TSPS_Server

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[validAndStartNewEnvsAddToPConfig] Valid the new environment:TSPS_Elasticsearch

      INFO:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[addNewEnv:TSPS_Elasticsearch] start connection to the new environment:TSPS_Elasticsearch

      INFO:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[isExternalCollectorStarted:Lite_TSPS_Elasticsearch] Sending to the Java collector agent environment:Lite_TSPS_Elasticsearch with port:3181

      INFO:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[isExternalCollectorStarted:Lite_TSPS_Elasticsearch] collector message environment:Lite_TSPS_Elasticsearch collMessage:Collector start ok

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[openOneTimeChannel:TSPS_Elasticsearch] Set channel name to GJS_OneTimeCollector_TSPS_Elasticsearch

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[checkServerConfigurationConnection] execute command:tsps.abc.com|8048|admin|********|jmxrmi|true

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[wrapRequestAndExecuteLiteCommand] Writing request, request = tsps.abc.com|8048|admin|********|jmxrmi|true

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[readOneTimeDataFromChannel] Begin collecting for channel: GJS_OneTimeCollector_TSPS_Elasticsearch

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[readOneTimeDataFromChannel] Done reading data:

      <BMC_START>

      lite_connection

      ERR_M_GJS_CONNECTION_ERROR

      <BMC_END>

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[wrapRequestAndExecuteLiteCommand:parseLiteCommandResult] Result = ERR_M_GJS_CONNECTION_ERROR

       

       

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[closeOneTimeChannel] Closing one time channel:GJS_OneTimeCollector_TSPS_Elasticsearch for environment:/GJS_MAIN/GenericJVM

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[closeOneTimeChannel] One time Channel is open for:GJS_OneTimeCollector_TSPS_Elasticsearch sending exit command.

      DEBUG:Tue Mar 12 13:09:59 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[executeOneRequest] Writing, channelName=GJS_OneTimeCollector_TSPS_Elasticsearch

      ERROR:Tue Mar 12 13:10:01 2019:gjs:GJS_MAIN.GenericJVM.ReConnect:[addNewEnv:TSPS_Elasticsearch] Configuration of the connection is Bad: GJS1028E: The monitor is not able to establish connection with the targeted Java VM server due to invalid or missing settings.

      It's recommended to validate the configuration of the jmxremote service within the targeted Java VM server

      before setting up the monitoring policy.

       


      Please help me in suggesting the correct  configuration to be entered in the policy configuration

       

       

       

       

      Waiting for the expert comments

       

      Regards

      Abhay