Skip to content

pyguy/ansible-prom-ipmi-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Galaxy

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 is go, 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 in ipmi.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

ipmi-general-status-grafana ipmi-graphs-grafana

License

GPLv2

About

Prometheus IPMI exporter ansible role

Resources

Stars

Watchers

Forks

Packages

No packages published