Management and monitoring tools
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.
- Your favorite web development tool should be enough (e.g., Firefox developer edition).
- 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.
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:flowerand go to the web application running on port 5554 (unless you have changed the default value in the Ansible script).