prometheus_ipmi_exporter
Prometheus IPMI exporter
This role installs ipmi exporter for Prometheus using this repo.
Requirements
This role installs the following package dependencies:
git
golang
freeipmi-tools
you also need to have a running golang environment.
Tested platforms are:
Ubuntu
- bionic
- xenial
- trusty
- precise
Debian
- stretch
- jessie
- squeeze
- wheezy
CentOS 7
Role Variables
GO_PATH
var is for the golang environment to work which default is/opt/go
GO_BIN
is go command binary file which default isgo
, in some distributions it sould be the command absolute path.ipmi_config_path
is the IPMI config dir which default is/opt/go/bin
ipmi_listen_address
is the address/port to listen on which default is:9290
exclude_sensor_ids
option can be used inipmi.yml
file, you can find them here in Wiki
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: localhost
roles:
- { role: prometheus-ipmi-exporter }
Sample grafana graph
License
GPLv2
ansible-galaxy install pyguy/ansible-prom-ipmi-exporter