Skip to content

Ostorlab/agent_debug

Repository files navigation

Agent Debug

Debug is a test agent used to help debug runtimes by logging all messages and important settings.


Usage

Agent Debug can be installed directly from the ostorlab agent store or built from this repository.

Install directly from ostorlab agent store

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

Build directly from the repository

  1. 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
  1. Clone this repository.
git clone https://github.com/Ostorlab/agent_debug.git && cd agent_debug
  1. 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.

  1. 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

License

Apache-2