You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intecture Agent is a tiny daemon that exposes Intecture's API as a service. To consume this service, use the `host::remote::Plain` type from [core](../core/).
4
+
5
+
### Usage
6
+
7
+
To run the agent, simply execute the `intecture_agent` binary, remembering to pass it a socket address to listen on.
8
+
9
+
For example, to listen to localhost on port 7101, run:
10
+
11
+
```sh
12
+
intecture_agent --address localhost:7101
13
+
```
14
+
15
+
More likely though you'll want to listen on your public interface so that Intecture can talk to the host remotely. In this case you should specify the host's IP address manually, or use `0.0.0.0` to listen on all interfaces.
16
+
17
+
### Config file
18
+
19
+
You can also store agent parameters in a configuration file. The file must be in TOML format, and can live anywhere on your server. It should look like this:
20
+
21
+
```toml
22
+
address = "0.0.0.0:7101"
23
+
```
24
+
25
+
Once you've created a config file, pass it to the agent binary:
0 commit comments