2020-10-11 10:25:55 +00:00
|
|
|
# HMCi Configuration
|
2022-02-14 12:04:32 +00:00
|
|
|
# Copy this file into /etc/hmci.toml and customize it to your environment.
|
|
|
|
|
|
|
|
###
|
|
|
|
### Define one InfluxDB to save metrics into
|
2023-05-17 18:36:40 +00:00
|
|
|
### There must be only one and it should be named [influx]
|
2022-02-14 12:04:32 +00:00
|
|
|
###
|
|
|
|
|
2023-05-17 18:36:40 +00:00
|
|
|
# InfluxDB v1.x example
|
|
|
|
#[influx]
|
|
|
|
#url = "http://localhost:8086"
|
|
|
|
#username = "root"
|
|
|
|
#password = ""
|
|
|
|
#database = "hmci"
|
|
|
|
|
|
|
|
|
|
|
|
# InfluxDB v2.x example
|
2020-10-11 10:25:55 +00:00
|
|
|
[influx]
|
2021-10-29 06:38:10 +00:00
|
|
|
url = "http://localhost:8086"
|
2023-05-17 18:36:40 +00:00
|
|
|
org = "myOrg"
|
|
|
|
token = "rAnd0mT0k3nG3neRaT3dByInF1uxDb=="
|
|
|
|
bucket = "hmci"
|
2022-02-14 12:04:32 +00:00
|
|
|
|
2022-11-26 09:47:10 +00:00
|
|
|
|
2022-02-14 12:04:32 +00:00
|
|
|
###
|
|
|
|
### Define one or more HMC's to query for metrics
|
|
|
|
### Each entry must be named [hmc.<something-unique>]
|
|
|
|
###
|
|
|
|
|
|
|
|
|
2022-02-08 20:39:42 +00:00
|
|
|
# HMC to query for data and metrics
|
2021-10-29 06:38:10 +00:00
|
|
|
[hmc.site1]
|
2022-11-26 09:47:10 +00:00
|
|
|
url = "https://10.10.10.5:12443"
|
2021-10-29 06:38:10 +00:00
|
|
|
username = "hmci"
|
|
|
|
password = "hmcihmci"
|
2022-11-24 11:35:49 +00:00
|
|
|
refresh = 30 # How often to query HMC for data - in seconds
|
|
|
|
discover = 120 # Rescan HMC for new systems and partitions - in minutes
|
|
|
|
trust = true # Ignore SSL cert. errors (due to default self-signed cert. on HMC)
|
|
|
|
energy = true # Collect energy metrics on supported systems
|
|
|
|
|
2020-10-11 10:25:55 +00:00
|
|
|
|
2022-02-14 12:04:32 +00:00
|
|
|
# Another HMC example
|
2022-09-20 15:55:40 +00:00
|
|
|
#[hmc.site2]
|
2022-11-26 09:47:10 +00:00
|
|
|
#url = "https://10.10.20.5:12443"
|
2022-02-14 12:04:32 +00:00
|
|
|
#username = "user"
|
|
|
|
#password = "password"
|
2022-11-26 09:47:10 +00:00
|
|
|
#trace = "/tmp/hmci-trace" # When present, store JSON metrics files from HMC into this folder
|
2022-02-23 10:48:00 +00:00
|
|
|
#excludeSystems = [ 'notThisSystem' ] # Collect metrics from all systems except those listed here
|
|
|
|
#includeSystems = [ 'onlyThisSystems' ] # Collcet metrics from no systems but those listed here
|
|
|
|
#excludePartitions = [ 'skipThisPartition' ] # Collect metrics from all partitions except those listed here
|
|
|
|
#includePartitions = [ 'onlyThisPartition' ] # Collect metrics from no partitions but those listed here
|