Management and monitoring tools - PTAnywhere/ptAnywhere-installation GitHub Wiki
A typical PT Anywhere installation can be quite complex because it relies in different components that might be hosted by several machines.
This page lists some of the tools that I find useful to manage and monitor PT Anywhere.
Web client
- Your favourite web development tool should be enough (e.g., Firefox developer edition).
Web server
- Log files in the Tomcat log directory.
- The API is described using OpenAPI (formerly known as Swagger). Therefore, you can use Swagger-UI to explore and test its methods.
- To debug the web application, try this.
Session manager
- redis-cli
- This script lists current users.
Packet Tracer manager
- It exposes an API described using OpenAPI. Go to the application root (usually in the port 80) to find a Swagger-UI.
- This script creates N instances in the API.
- This script deallocates instances and deletes them.
- The Docker CLI can be used to check the containers created and their current status.
- See some useful commands here
- The API internally uses Celery. You can use Flower to monitor Celery. Flower should be already installed so start it using
supervisorctl start celery:flower
and go to the web application running on port 5554 (unless you have changed the default value in the Ansible script).
Learning Record Store
- Use the LearningLocker web dashboard.
- Use a client library to query it.