Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit 760d8f5

Browse files
committed
updated documentation regarding new configuration supporting timeout
1 parent 9834267 commit 760d8f5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/content/configuration/file.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ hmc_password="abc123"
5555
hmc_managed_system="mysystem"
5656
hmc_database="nmon2influxdbHMC"
5757
hmc_data_retention="40d"
58+
hmc_timeout="30"
5859
{{< /highlight >}}
5960

6061
# Additional parameters

docs/content/usage/hmc_import.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ OPTIONS:
2222
--managed_system, -m only import this managed system
2323
--managed_system-only, --sys-only skip partition metrics
2424
--samples "0" import latest <value> samples
25+
--timeout 30 set a connection timeout
2526
{{< /highlight >}}
2627

2728
# Parameters
@@ -32,6 +33,7 @@ OPTIONS:
3233
* **managed_system**: fetch HMC PCM data only for this managed system
3334
* **--sys-only**: skip partition metrics
3435
* **--samples <value>**: fetch the latest <value> samples. Each sample is averaging 30 seconds.
36+
* **--timeout <value>**: set a connection timeout
3537

3638
# Environment variables
3739

@@ -53,6 +55,7 @@ hmc_managed_system="mysystem"
5355
hmc_database="nmon2influxdbHMC"
5456
hmc_data_retention="40d"
5557
hmc_samples=10
58+
hmc_timeout=30
5659
{{< /highlight >}}
5760

5861
It's possible to set all CLI parameters. It's also possible to change the InfluxDB database name with **hmc_database** and change the data retention with **hmc_data_retention**.

0 commit comments

Comments
 (0)