Identify the server where the OMS Docker container resides based on the IP address in the component ID.
Generally, the ID of a component is in the format of IP-PORT:INNER ID:SEQ, for example, xxx.xxx.xxx.1-9000:90322:0000000111. For more information about how to query component IDs, see How do I query the ID of a checker.
Run the following command to log on to the Docker container of OMS:
# Obtain the name of the OMS Docker container. sudo docker ps # Assume that the name of the OMS Docker container is oms. Enter the Docker container. sudo docker exec -it oms bashThe log files of the Checker component of OMS are located in the
/home/ds/run/{component ID}/logsdirectory, which contains thetask.loganderror.loglog files.task.log: contains general logs.error.log: contains error logs.
How do I query log files of the Checker component of OMS?
share
Previous topic