forked from flashcat/categraf
44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
# Read metrics from the bare metal servers via IPMI
|
|
[[instances]]
|
|
## optionally specify the path to the ipmitool executable
|
|
# path = "/usr/bin/ipmitool"
|
|
##
|
|
## Setting 'use_sudo' to true will make use of sudo to run ipmitool.
|
|
## Sudo must be configured to allow the telegraf user to run ipmitool
|
|
## without a password.
|
|
# use_sudo = false
|
|
##
|
|
## optionally force session privilege level. Can be CALLBACK, USER, OPERATOR, ADMINISTRATOR
|
|
# privilege = "ADMINISTRATOR"
|
|
##
|
|
## optionally specify one or more servers via a url matching
|
|
## [username[:password]@][protocol[(address)]]
|
|
## e.g.
|
|
## root:passwd@lan(127.0.0.1)
|
|
##
|
|
## if no servers are specified, local machine sensor stats will be queried
|
|
##
|
|
# servers = ["USERID:PASSW0RD@lan(192.168.1.1)"]
|
|
|
|
## Recommended: use metric 'interval' that is a multiple of 'timeout' to avoid
|
|
## gaps or overlap in pulled data
|
|
interval = "30s"
|
|
|
|
## Timeout for the ipmitool command to complete. Default is 20 seconds.
|
|
timeout = "20s"
|
|
|
|
## Schema Version: (Optional, defaults to version 1)
|
|
metric_version = 2
|
|
|
|
## Optionally provide the hex key for the IMPI connection.
|
|
# hex_key = ""
|
|
|
|
## If ipmitool should use a cache
|
|
## for me ipmitool runs about 2 to 10 times faster with cache enabled on HP G10 servers (when using ubuntu20.04)
|
|
## the cache file may not work well for you if some sensors come up late
|
|
# use_cache = false
|
|
|
|
## Path to the ipmitools cache file (defaults to OS temp dir)
|
|
## The provided path must exist and must be writable
|
|
# cache_path = ""
|