2021-06-14 07:45:19 +00:00
|
|
|
---
|
|
|
|
title: CLI options
|
|
|
|
---
|
|
|
|
|
|
|
|
You can get all available CLI options by running `prometheus-pve-sd --help`:
|
|
|
|
|
2022-03-11 12:37:19 +00:00
|
|
|
```Shell
|
2021-06-14 07:45:19 +00:00
|
|
|
$ prometheus-pve-sd --help
|
2022-03-27 11:36:26 +00:00
|
|
|
usage: prometheus-pve-sd [-h] [-c CONFIG_FILE] [-o OUTPUT_FILE] [-m OUTPUT_FILE_MODE] [-d LOOP_DELAY] [--no-service] [-f LOG_FORMAT] [-v] [-q] [--version]
|
2021-06-14 07:45:19 +00:00
|
|
|
|
|
|
|
Prometheus Service Discovery for Proxmox VE
|
|
|
|
|
2022-03-27 11:36:26 +00:00
|
|
|
options:
|
2021-06-14 07:45:19 +00:00
|
|
|
-h, --help show this help message and exit
|
|
|
|
-c CONFIG_FILE, --config CONFIG_FILE
|
|
|
|
location of configuration file
|
|
|
|
-o OUTPUT_FILE, --output OUTPUT_FILE
|
|
|
|
output file
|
2022-03-27 11:36:26 +00:00
|
|
|
-m OUTPUT_FILE_MODE, --mode OUTPUT_FILE_MODE
|
|
|
|
output file mode
|
2021-06-14 07:45:19 +00:00
|
|
|
-d LOOP_DELAY, --loop-delay LOOP_DELAY
|
|
|
|
delay between discovery runs
|
|
|
|
--no-service run discovery only once
|
|
|
|
-f LOG_FORMAT, --log-format LOG_FORMAT
|
|
|
|
used log format
|
|
|
|
-v increase log level
|
|
|
|
-q decrease log level
|
|
|
|
--version show program's version number and exit
|
2022-03-11 12:37:19 +00:00
|
|
|
```
|