Document toolboxDocument toolbox

System Monitor 1

The System Monitor program, spsysmon, starts up all of the ServiceOptimizer processes and, when stopped, the Master System Monitor signals to all of the processes under its control so that they terminate in a tidy way. 

Example syntax: spsysmon -d rs_reg51/rs_reg51 -s

Distributed-v-non-distributed

In a Non-Distributed ServiceOptimizer instance just one spsysmon process runs, as the Master System Monitor. 

In a Distributed ServiceOptimizer instance (see Distributed System) one spsysmon process runs as the Master System Monitor and all other spsysmon processes run as Slave System Monitors.

Starting the other processes

The ServiceOptimizer processes are started in the order defined by the hierarchy level in the database. They are supplied with all mandatory command line parameters. Optional parameters are supplied if set up in sp400_components (e.g. the -c parameter for the FRU process) 

Recovering failed processes

One of the jobs of the system monitor is to monitor the system and, where appropriate, (possibly kill and) restart other components. When a process is found to have failed, and cannot be restarted, System Monitor can be configured to send out an alert to this effect. If Master System Monitor itself fails, it will also invoke the alert process (if it can). Setting up Auto-Recovery of Components covers how this can be configured.

Recovering a failed system monitor

Recovering a system monitor is not something done by ServiceOptimizer; the spsysmon process should be restarted, and it will reconnect to the other running ServiceOptimizer components and system monitors. It will then continue from where the previous system monitor left off.

Monitor Reset Dialogue

Starting spsysmon usually uses the -s parameter. However, there is an alternative that may be used to 'reset' the system in order to get a clean start. To do this, use the -c parameter instead of the -s parameter. On starting spsysmon with -c, the following question will be presented on the command line: Is the rest of the ServiceOptimizer System still running? Yes / No / Cancel (Y/N/C)

  • Enter "N" to remove all the previously running system monitor entries ready for a fresh system restart.
  • Enter "Y" to simply clear enough parameters to allow connection of a new monitor to an already running system.
  • Enter "C" to exit without modification.


Following a valid entry the following final warning message will be displayed:- About to reset the System monitor running data ..continue? Yes / No (Y/N)

  • Enter "Y" to execute the request set-up in the previous question.
  • Any other entry will cause exit without modification.


Following removal of the ServiceOptimizer monitor data, system monitor will log a message to the Operating System application, system monitor's own log, and to the command window (if present) from which the command was run.spsysmon will then exit. 
Following running spsysmon with the –c parameter, spsysmon can be started as normal.

System Parameters

A number of system parameters are used to determine how the system monitor interacts with other system monitors, and the other processes. These are covered in System Start Up.