Skip to content

small documentation updates #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ A special `common` subsection under `Backends` defines configuration settings th
backends:
...
common:
diode:
target: grpc://192.168.0.22:8080/diode
api_key: ${DIODE_API_KEY}
agent_name: agent01
diode:
target: grpc://192.168.0.22:8080/diode
api_key: ${DIODE_API_KEY}
agent_name: agent01
```


Expand All @@ -65,10 +65,10 @@ orb:
policies:
device_discovery:
device_policy_1:
# see device_discovery section
# see docs/backends/device_discovery.md
network_discovery:
network_policy_1:
# see network_discovery section
# see docs/backends/network_discovery.md
```

## Configuration samples
Expand Down
4 changes: 2 additions & 2 deletions docs/backends/device_discovery.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Device Discovery
The device discovery backend leverages NAPALM to connect to network devices and collect network information.
The device discovery backend leverages [NAPALM](https://napalm.readthedocs.io/en/latest/index.html) to connect to network devices and collect network information.


## Configuration
Expand All @@ -15,7 +15,7 @@ orb:
api_key: ${DIODE_API_KEY}
agent_name: agent01
device_discovery:
host: 192.168.5.11 #default 0.0.0.0
host: 192.168.5.11 # default 0.0.0.0
port: 8857 # default 8072

```
Expand Down
10 changes: 5 additions & 5 deletions docs/backends/network_discovery.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Network Discovery
The network discovery backend leverages NMAP to scan networks and discover IP information.
The network discovery backend leverages [NMAP](https://nmap.org/) to scan networks and discover IP information.


## Configuration
Expand All @@ -15,10 +15,10 @@ orb:
api_key: ${DIODE_API_KEY}
agent_name: agent01
network_discovery:
host: 192.168.5.11 #default 0.0.0.0
host: 192.168.5.11 # default 0.0.0.0
port: 8863 # default 8072
log_level: ERROR #default INFO
log_format: JSON #default TEXT
log_level: ERROR # default INFO
log_format: JSON # default TEXT

```

Expand Down Expand Up @@ -71,6 +71,6 @@ orb:
- 192.168.7.32
- 192.168.7.30-40 # IP range
- 192.168.7.0/24 # IP subnet
- google.com #dns lookup
- google.com # dns lookup

```
8 changes: 4 additions & 4 deletions docs/config_samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Here is a collection of configuration samples supported by orb agent

## Device-discovery backend
This sample configuration file demonstrates the device discovery backend connecting to a Cisco router at 192.168.0.5. It retrieves device, interface, and IP information, then sends the data to a diode server running at 192.168.0.100.
This sample configuration file demonstrates the device discovery backend connecting to a Cisco router at 192.168.0.5. It retrieves device, interface, and IP information, then sends the data to a [diode](https://github.com/netboxlabs/diode) server running at 192.168.0.100.

```yaml
orb:
Expand Down Expand Up @@ -34,7 +34,7 @@ Run command:
docker run -v /local/orb:/opt/orb/ \
-e DIODE_API_KEY={YOUR_API_KEY} \
-e PASS={DEVICE_PASSWORD} \
netboxlabs/orb-agent:develop run -c /opt/orb/agent.yaml
netboxlabs/orb-agent:latest run -c /opt/orb/agent.yaml
```

### Custom Drivers
Expand Down Expand Up @@ -62,7 +62,7 @@ Run command:
-e DIODE_API_KEY={YOUR_API_KEY} \
-e PASS={DEVICE_PASSWORD} \
-e INSTALL_DRIVERS_PATH=/opt/orb/drivers.txt \
netboxlabs/orb-agent:develop run -c /opt/orb/agent.yaml
netboxlabs/orb-agent:latest run -c /opt/orb/agent.yaml
```
The relative path used by `pip install` should point to the directory containing the `.txt` file.

Expand Down Expand Up @@ -93,5 +93,5 @@ Run command:
```sh
docker run -v /local/orb:/opt/orb/ \
-e DIODE_API_KEY={YOUR_API_KEY} \
netboxlabs/orb-agent:develop run -c /opt/orb/agent.yaml
netboxlabs/orb-agent:latest run -c /opt/orb/agent.yaml
```