Skip to content

Commit

Permalink
upd readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Koos85 committed Feb 6, 2023
1 parent db3535d commit 1b7a7ba
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,42 @@ Variable | Default | Description
```
docker build -t esx-probe . --no-cache
```

## Config

```yaml
vcenter:
config:
username: "my_account"
password: "my_password"
```
## Dry run
Available checks:
- `alarms`
- `capabilities`
- `configIssues`
- `datastore`
- `hardwareStatus`
- `host`
- `hostVMs`
- `licenses`
- `network`
- `sensor`

Create a yaml file, for example _(test.yaml)_:

```yaml
asset:
name: "foo.local"
check: "host"
config:
address: "192.168.1.2"
```

Run the probe with the `DRY_RUN` environment variable set the the yaml file above.

```
DRY_RUN=test.yaml python main.py
```

0 comments on commit 1b7a7ba

Please sign in to comment.