Monitor the service

Discover the tools you can use to monitor Spotfire Statistics Services.

JMX

The default installation of Spotfire Statistics Services enables remote monitoring and administration via JMX on port 9004. If you use a JMX-compliant monitoring tool such as TIBCO Hawk or JConsole, you can monitor the server’s health and status, edit the configuration, and manage the job queue of Spotfire Statistics Services, all remotely.

Procrun

On Windows, we use the Procrun service and monitor applications for all node types.

Note: Procrun is Windows only. To monitor or modify settings on UNIX/Linux, you must edit SPSERVER_HOME/init.d/spserver.

We use the service application, Prunsrv, to automate updating and modifying the service configuration. For example, we automate setting the service to run as a specified user and changing a Java property through this service application. You can start the monitor application, Prunmgr, to change settings interactively.

If you decide that you want to automate a change, you can use the service application to automate, at the command line, any change that you can make through the monitor application.

The Procrun service application is TSSS<servername>.exe and the monitor application is TSSS<service_name>w.exe, where <service_name> is the service name that you specify during installation. For example, the default service name is SplusServer and yields TSSSSplusServer.exe and TSSSSplusServerw.exe.

The respective locations are:

  • Standalone/Manager: SPSERVER_HOME\tomcat\bin
  • Worker: SPSERVER_HOME\worker\bin

For more information, see Using Procrun to modify a Java property. For more general information about Procrun, see http://commons.apache.org/daemon/procrun.html.