Update configuration examples
This commit is contained in:
parent
02804232b0
commit
3a372a6d79
|
@ -1,5 +1,9 @@
|
||||||
# HMCi Configuration
|
# HMCi Configuration
|
||||||
# Copy this file into /etc/hmci.toml and customize to your environment.
|
# Copy this file into /etc/hmci.toml and customize it to your environment.
|
||||||
|
|
||||||
|
###
|
||||||
|
### General HMCi Settings
|
||||||
|
###
|
||||||
|
|
||||||
# How often to query HMC's for data - in seconds
|
# How often to query HMC's for data - in seconds
|
||||||
hmci.update = 30
|
hmci.update = 30
|
||||||
|
@ -7,13 +11,24 @@ hmci.update = 30
|
||||||
# Rescan HMC's for new systems and partitions - every x update
|
# Rescan HMC's for new systems and partitions - every x update
|
||||||
hmci.rescan = 120
|
hmci.rescan = 120
|
||||||
|
|
||||||
# InfluxDB to save metrics into
|
|
||||||
|
###
|
||||||
|
### Define one InfluxDB to save metrics into
|
||||||
|
###
|
||||||
|
|
||||||
[influx]
|
[influx]
|
||||||
url = "http://localhost:8086"
|
url = "http://localhost:8086"
|
||||||
username = "root"
|
username = "root"
|
||||||
password = ""
|
password = ""
|
||||||
database = "hmci"
|
database = "hmci"
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### 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
|
# HMC to query for data and metrics
|
||||||
[hmc.site1]
|
[hmc.site1]
|
||||||
url = "https://10.10.10.10:12443"
|
url = "https://10.10.10.10:12443"
|
||||||
|
@ -29,3 +44,9 @@ unsafe = true # Ignore SSL cert. errors
|
||||||
#unsafe = false # When false, validate SSL/TLS cerfificate, default is true
|
#unsafe = false # When false, validate SSL/TLS cerfificate, default is true
|
||||||
#energy = false # When false, do not collect energy metrics, 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
|
#trace = "/tmp/hmci-trace" # When present, store JSON metrics files from HMC into this folder
|
||||||
|
|
||||||
|
# Another HMC example
|
||||||
|
#[hmc.Prod-HMC]
|
||||||
|
#url = "https://10.10.10.30:12443"
|
||||||
|
#username = "user"
|
||||||
|
#password = "password"
|
||||||
|
|
Loading…
Reference in a new issue