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.
|
|
|
|
|
|
|
|
###
|
|
|
|
### General HMCi Settings
|
|
|
|
###
|
2020-10-11 10:25:55 +00:00
|
|
|
|
|
|
|
# How often to query HMC's for data - in seconds
|
2021-10-29 06:38:10 +00:00
|
|
|
hmci.update = 30
|
2020-10-11 10:25:55 +00:00
|
|
|
|
2021-01-14 12:51:18 +00:00
|
|
|
# Rescan HMC's for new systems and partitions - every x update
|
2021-10-29 06:38:10 +00:00
|
|
|
hmci.rescan = 120
|
2020-10-11 10:25:55 +00:00
|
|
|
|
2022-02-14 12:04:32 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### Define one InfluxDB to save metrics into
|
|
|
|
###
|
|
|
|
|
2020-10-11 10:25:55 +00:00
|
|
|
[influx]
|
2021-10-29 06:38:10 +00:00
|
|
|
url = "http://localhost:8086"
|
|
|
|
username = "root"
|
|
|
|
password = ""
|
|
|
|
database = "hmci"
|
2020-10-11 10:25:55 +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]
|
|
|
|
url = "https://10.10.10.10:12443"
|
|
|
|
username = "hmci"
|
|
|
|
password = "hmcihmci"
|
|
|
|
unsafe = true # Ignore SSL cert. errors
|
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-02-14 12:04:32 +00:00
|
|
|
#url = "https://10.10.10.30:12443"
|
|
|
|
#username = "user"
|
|
|
|
#password = "password"
|
2022-02-08 20:39:42 +00:00
|
|
|
#unsafe = false # When false, validate SSL/TLS cerfificate, default is true
|
|
|
|
#energy = false # When false, do not collect energy metrics, default is true
|
|
|
|
#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
|