Server status is recorded in the server log and can be remotely monitored using the mtping utility.  This utility can be found in the "Server Files" folder of each ExpeDat package.

Pinging servedat will return version, license, and runtime information.  The exact information available may vary depending on the version and configuration.

host-14# mtping ACT_IDSTR ( Response 0 of 200 bytes after 0 repeats in 1ms (Version 2/0): servedat - 1.15.0 August 2013 - DEI, DOC-1.15.0 MTP-osx-3.15.11 853 00000001: ExpeDat-1.15A Data Expedition Inc., Server Statistics (11500): Name: servedat Version: 1.15.0 Platform: osx Clock: Fri Aug 23 10:45:57 2013 Clock Skew: 0 seconds Delimiter: / Load: Current: 0, MaxConfig: 1, MaxStart: 1, TotalStart: 7 Capacity: 10 Up Time: 1.82 days Config Time: 1.80 hours Idle Time: 1.35 minutes Errors: Errors 0, Failures: 0, Warnings: 0, Denials: 1

See the mtping section for more details on using mtping.

Object Handlers also have access to server configuration and load details through environment variables such as SV_SERVERLOAD.

Monitoring Server Health

The Load line tells you how busy your server is.  If the Current or MaxConfig loads are near Capacity, you may want to consider upgrading your server's capacity.  Comparing the TotalStart to the Up Time gives you a measure of how busy your server has been over time.

The Error line tells you whether the server is having problems.  Errors indicate potentially serious problems which should be investigated and corrected.  Check the server log for lines starting with 'E'.

Warnings are less serious than errors, but still should be investigated.  They may be caused by server configuration issues, or unusual conditions with individual transactions.   Check the server log for lines starting with 'W'.

A high number of Failures could indicate network problems.  A large number of Denials may indicate users having authentication or permission problems, or a security problem.

It is a good idea to check these values periodically, either with mtping or by looking for 'S' entries in the log file.