smc_ipmi Telegraf input plugin
February 20, 2021 ยท View on GitHub
Python script to parse the output of SMCIPMITool into the InfluxDB line protocol. Intended to be run via Telegraf's exec input plugin.
Requirements
The SMCIPMITool [download] must be installed on the Telegraf host.
Install
Clone this repo to the Telegraf host and configure Telegraf as shown below.
Configuration
/etc/telegraf/telegraf.conf
[[inputs.exec]]
commands["/path/to/smc_ipmi.py /path/to/SCMIPMITool '192.168.1.2' 'ipmi_user' 'ipmi_pw' 'F'"]
data_format = "influx"
Usage
usage: smc_ipmi.py [-h] path ip user password {C,F}
SMCIpmi input plugin
positional arguments:
path Path to SMCIpmi utility
ip IP address of Supermicro host
user Username
password Password
{C,F} Temperature unit to use
optional arguments:
-h, --help show this help message and exit