share library_books edit

Switching from In-Process to Standalone

  1. Adjust your server startup scripts by removing SPM javaagent definition and adding parameters described on SPM Monitor - Standalone

  2. Edit properties file of your system found in /spm/spm-monitor/conf/ directory (in case you are using Hadoop or HBase system which has multiple nodes, adjust properties files of nodes for which you want to change the mode). Set:

    • SPM_MONITOR_IN_PROCESS="false"
    • SPM_MONITOR_JMX_PARAMS should be adjusted according to instructions on SPM Monitor - Standalone
  3. Restart SPM Monitor:

    bash sudo /etc/init.d/spm-monitor restart

  4. restart your server

Switching from Standalone to In-Process

  1. Add SPM javaagent definition to startup script of your server according to notes on https://apps.sematext.com/ui/monitoring (under in-process tab)

  2. Edit properties file of your system found in /spm/spm-monitor/conf/ directory (in case you are using Hadoop or HBase system which has multiple nodes, adjust properties files of nodes for which you want to change the mode). Set:

    • SPM_MONITOR_IN_PROCESS="true"
    • SPM_MONITOR_JMX_PARAMS=""
  3. Restart SPM monitor:

    bash sudo /etc/init.d/spm-monitor restart

  4. restart your server