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 (184.108.40.206:8080) Response 0 of 212 bytes after 0 repeats in 0ms (Version 2/0): servedat - 1.16.6 August 2015 - DEI, DOC-2.1.2 MTP-osx-4.1.3 1604 00000001: ExpeDat-1.16G Data Expedition Inc., DataExpedition.com Server Statistics (11606): Name: servedat Version: 1.16.6 Platform: osx Clock: Mon Aug 31 09:58:54 2015 Clock Skew: 0 seconds Delimiter: / Load: Current: 0, MaxConfig: 2, MaxStart: 2, TotalStart: 155 Capacity: Limit: 10, Exceeded: 0 Up Time: 6.71 weeks Config Time: 2.54 weeks Idle Time: 51.9 minutes 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.|
The Capacity line tells you the maximum possible Load and how often this has been Exceeded.
|Limit||The maximum possible Load.|
|Exceeded||The number of transactions which were denied because the server load was at maximum capacity. If this number is non-zero, consider upgrading your server's capacity. This count is included among the Deny count below.|
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.