Server status is recorded in the server log and can be remotely monitored using the mtping utility and the ExpeDat Server Dashboard.. This mtping utility can be found in the "Server Files" folder of each ExpeDat and SyncDat distribution package. The Server Dashboard can be found in the "Web" folder of each ExpeDat distribution 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 dataexpedition.com ACT_IDSTR dataexpedition.com (126.96.36.199:8080) Response 0 of 209 bytes after 0 repeats in 0ms (Version 2/0): servedat - 1.16.4 April 2015 - DEI, DOC-2.1.1 MTP-osx-4.1.1 1482 00000001: ExpeDat-1.16E Data Expedition Inc., DataExpedition.com Server Statistics (11604): Name: servedat Version: 1.16.4 Platform: osx Clock: Fri Jun 5 10:37:17 2015 Clock Skew: 0 seconds Delimiter: / Load: Current: 0, MaxConfig: 2, MaxStart: 2, TotalStart: 155 Capacity: 10 Up Time: 5.12 weeks Config Time: 5.12 weeks Idle Time: 1.54 hours Errors: Errors: 0, Failures: 10, Warnings: 0, Denials: 13
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 has been.
|Current||The number of transactions currently active.|
|MaxConfig||The peak number of simultaneous transactions since the last configuration reload.|
|MaxStart||The peak number of simultaneous transactions since server startup.|
|TotalStart||The total number of transactions started or attempted since server startup.|
If MaxStart is at or near Capacity, you should consider upgrading your server's capacity.
The Errors line counts how many times problems have been observed since the server was started.
|Errors||Serious problems which should be investigated and corrected. Check the server log for lines starting with 'E'.|
|Failures||Transactions which started successfully, then failed before completing. A large number of these compared to TotalStart could indicate network problems.|
|Warnings||Problems with the configuration or unusual run-time events. Check the server log for lines starting with 'W'.|
|Denials||Transactions which could not begin. Incorrect passwords, mistyped file names, and file permission issues are the most common causes.|
It is a good idea to check these values periodically, either with mtping, by looking for 'S' entries in the log file, or with the ExpeDat Server Dashboard. Increasing problem counts may indicate a persistent problem that requires attention.