Debug is a test agent used to help debug runtimes by logging all messages and important settings.
Agent Debug can be installed directly from the ostorlab agent store or built from this repository.
ostorlab agent install agent/ostorlab/debug
You can then run the agent with the following command:
ostorlab scan run --agent agent/ostorlab/debug ip 8.8.8.8 --follow agent/ostorlab/debug
--follow used to follow the logs of the debug agent
- To build the tsunami agent you need to have ostorlab installed in your machine. if you have already installed ostorlab, you can skip this step.
pip3 install ostorlab
- Clone this repository.
git clone https://github.com/Ostorlab/agent_debug.git && cd agent_debug
- Build the agent image using ostorlab cli.
ostorlab agent build --file=ostorlab.yaml
You can pass the optional flag --organization
to specify your organisation. The organization is empty by default.
- Run the agent using on of the following commands:
- If you did not specify an organization when building the image:
ostorlab scan run --agent agent//debug ip 8.8.8.8
- If you specified an organization when building the image:
ostorlab scan run --agent agent/[ORGANIZATION]/debug ip 8.8.8.8