Skip to content
Merged
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
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Flags:
-d, --database string Database name (default "vspheredb")
-h, --help help for check_vspheredb_data
-H, --host string Database host to connect to
-m, --machine string Machine to be queried for
-m, --machine string vCenter name (for datastore checks)
-P, --password string Database password (default "vspheredb")
-p, --port int16 Database port to connect to (default 3306)
--tls Use TLS to connect to the database
Expand All @@ -69,6 +69,13 @@ To use the credentials-file feature, you need to have an appropiate file in the
"password": "vspheredb"
}
```
## Datastore Check – Machine Parameter

For datastore checks, `--machine` expects the vCenter name. The datastore name is specified separately using `--datastore`.

```
check_vspheredb_data datastore -m "vcenter.example.com" --datastore "datastore01"
```

## Development

Expand Down
Loading