The WebOffice 10 R3 web application provides a call interface for monitoring specific projects. Using this call interface it is easy to determine whether at a certain point of time a WebOffice 10 R3 project is available or not.
Monitoring project availability is important for implementing
•Load balancing and/or
•Fail over systems.
Being able to monitor a WebOffice 10 R3 project it is easy to precisely provide information on availability and to implement monitoring systems which may escalate a problem by notifying technical staff if the availability check was negative/not successful.
Monitoring on WebOffice 10 R3 project level has a significant advantage: It is far more reliable then just monitoring the server/host, the middleware or the GIS Server (ArcGIS Server), because the test on WebOffice 10 R3 project level will be positive/successful only, if all involved system components (Hardware/Software) are available and on line.
WebOffice 10 R3 provides the synmonitor call interface. For checking availability of e.g. a project configuration identified by project=Bregenz_combined_views, the HTTP request would look like:
The request will return ‘OK’ as response (just the string OK, no HTML document is returned) if the test was successful and the project is available and ready to use.
The request will return ‘FAILED’ as response (just the string FAILED, no HTML document is returned) if the test was NOT successful and the project is NOT available.

Monitoring a WebOffice 10 R3 project using the synmonitor call interface - OK

Monitoring a WebOffice 10 R3 project using the synmonitor call interface - FAILED
With WebOffice 10 R3 an additional, invasive synmonitor parameter is provided. Using &mode=reinit_if_unloaded you can keep your projects initialized.
Response by synmonitor will be "OK" --> project is initialized and available; or "FAILED" --> project is unavailable.
Note: It is not necessary to use this parameter in production systems (normally it will not be needed in production scenarios because projects will stay initialized by user interactions).
The parameter &mode=OK_if_unloaded does not try to reinitialize the project. This request will only return 'OK', if the project state is discharged. This mode is ressources-protecting and is recommended for hosting systems.
If a single map service, that is not the main map service or is not set to "Must be available: Yes", the synmonitor request will return: "OK". If you want to monitor all your map services without setting all to "Must be available: Yes" you can monitor each service.
You can get a complete list of all services used in your WebOffice 10 R3 projects by the synmonitor parameter "action" with "get_service_status":
http://<server>:<port>/<WebOffice 10 R3 application>/synmonitor?action=get_service_status

SynMonitor result of get server status
You can also use this listing to get the syntax for monitoring each single service by using the parameter "service":
http://<server>:<port>/<WebOffice 10 R3 application>/synmonitor?action=get_service_status&service=<service type>|<server>|<folder/service>
The response will be OK or FAILED.