Monitoring the State of the sedex Client¶
The sedex Client monitoring page contains a list of key/value pairs for the purpose of operations monitoring. The monitoring page can be accessed via HTTP or via file system.
Option 1: Retrieve the Monitoring as a Web page (HTTP GET)¶
The sedex Client monitoring Web page is a plain text page and is accessible via a published network port (default 8000).
$ curl http://DOCKER-HOST:8000/monitoring
#####################################
### sedex client monitoring ###
### Status at 2021-09-23T13:51:33 ###
#####################################
adapter-uptime=165:41:01
adapter-version=Adapter 6.0.6
adapter-sedexId=1-007-6
adapter-profile=small
adapter-organisationCertificateExpirationDate=2024-09-15T18:06:50
adapter-interfaceFoldersPresent=OK
[...]
Option 2: Retrieve the Monitoring via sedex-data's monitoring subdirectory (file system)¶
The sedex Client monitoring file is a plain text file and is located in sedex-data's monitoring
subdirectory.
$ cd /path/to/sedex-data/monitoring
$ cat monitoring.txt
#####################################
### sedex client monitoring ###
### Status at 2021-09-23T13:51:33 ###
#####################################
adapter-uptime=165:41:01
adapter-version=Adapter 6.0.6
adapter-sedexId=1-007-6
adapter-profile=small
adapter-organisationCertificateExpirationDate=2024-09-15T18:06:50
adapter-interfaceFoldersPresent=OK
[...]
Automatically observe the monitoring page
It is important to include the most important entries found on the monitoring page in your own automatic operations monitoring system.