hmci/doc/hmci.toml

52 lines
1.6 KiB
TOML
Raw Normal View History

# 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
### There must be only one and it should be named [influx]
2022-02-14 12:04:32 +00:00
###
# InfluxDB v1.x example
#[influx]
#url = "http://localhost:8086"
#username = "root"
#password = ""
#database = "hmci"
# InfluxDB v2.x example
[influx]
2021-10-29 06:38:10 +00:00
url = "http://localhost:8086"
org = "myOrg"
token = "rAnd0mT0k3nG3neRaT3dByInF1uxDb=="
bucket = "hmci"
2022-02-14 12:04:32 +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>]
###
# HMC to query for data and metrics
2021-10-29 06:38:10 +00:00
[hmc.site1]
url = "https://10.10.10.5:12443"
2021-10-29 06:38:10 +00:00
username = "hmci"
password = "hmcihmci"
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
2022-02-14 12:04:32 +00:00
# Another HMC example
#[hmc.site2]
#url = "https://10.10.20.5:12443"
2022-02-14 12:04:32 +00:00
#username = "user"
#password = "password"
#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