To determine whether a PTV xServer is up and running, you may check the following:
Connect to the alive port
If the server does not respond, there is a general problem on http level. The server can not be reached.
Check the server processes
In your process list, you should see the PTV xServer process structure consisting of a server and one or more xmodule (worker) processes. Worker processes should terminate if they find themselves orphaned; if they do not you might have to terminate them manually. The server process will restart worker processes if they vanish.
Open the PTV xServer Management Console
If you have enabled the web management console, you can go to the status monitor and have a look at the list of instances and at the request statistics. A high amount of restarts, rejected requests, or a very high average waiting or communication time ratio all deserve investigation.
Use the status report
For automated monitoring there are status reports available under //<servername>:<port>/<service>/pages/moduleCommand.jsp?status=json
which can be automatically retrieved and parsed.
Send a sample request
You can send an example request to see whether the server responds within an acceptable period of time. To minimise interference with operations, do this in sparse intervals and select a quick to execute request (such as findLocation
in PTV xLocate Server, or calculateRouteInfo
with near coordinates in PTV xRoute Server, or renderMap
with a small image size in PTV xMap Server).
Module processes are monitored by the server process. There should be no need for monitoring them externally. However, modules can be monitored using the web management console. Monitoring web services will be part of forthcoming releases.
Copyright © 2024 PTV Logistics GmbH All rights reserved. | Imprint