Monitoring Interface of the PLANTA Server
The monitoring interface is marked as "deprecated" since version S 39.0.0 and should no longer be used. Instead, the Prometheus endpoint or the Health endpoint should be used in the future.
For information
The interface in the PLANTA Server used by the monitoring service can also be used directly.
This way, connections to other monitoring systems, like Nagios, can be enabled.
Functions implemented by the monitoring service, are then not available, e.g., database monitoring or caching for elaborate monitoring functions.
The server interface is activated and configured via the
monitoring,monitoring_interface, andmonitoring_portparameters in the globals.conf configuration file.Example: on the test1.example.com server, the parameters are set as follows:
monitoring=true: activates the server interface.monitoring_interface=0.0.0.0: enables access via all network interfaces.monitoring_port=27777: Port to which the interface listens.
On PLANTA Servers that have been configured accordingly, server information can now be queried via the
test1.example.com:27777/monitoringURL.A directory in JSON format is returned; for automatic analysis, the string must be decoded.
Return example:
{"Component State":"OK","Release Date":"Fri Feb 28 13:57:14 CET 2014",
"Start Time":"Wed Mar 05 21:55:25 CET 2014","Release Version":"46656",
"Build Date":"Fri Feb 28 13:57:14 CET 2014","Build Version":"46656"}