Merge pull request #58 from corvus-migratorius/fix-role-readmes

Update role requirements
This commit is contained in:
Alexander Gorelyshev
2025-12-19 16:01:16 +04:00
committed by GitHub
3 changed files with 19 additions and 6 deletions

View File

@@ -6,13 +6,19 @@ This Ansible role installs ipmi_exporter on target host. This is a Prometheus ex
Requirements Requirements
------------ ------------
By default, the exporter relies on tools from the FreeIPMI suite for the actual IPMI implementation. Target node:
- `tar`
- `gzip`
- `freeipmi`
Role Variables Role Variables
-------------- --------------
Configuration files must have names ```web_conf.yaml``` and ```ipmi_local.conf```. If ipmi_exp_source_dir is specified, the role searches for ```web_conf.yaml``` and ```ipmi_local.conf``` in that directory and copy to target host in ```ipmi_exp_config_dir```. If the source directory is not specified, the role skips this step. In ipmi_local.conf user can describe what modules to use for metric collection. Configuration files must have names `web_conf.yaml` and `ipmi_local.conf`. If ipmi_exp_source_dir is specified, the role searches for `web_conf.yaml` and `ipmi_local.conf` in that directory and copy to target host in `ipmi_exp_config_dir`. If the source directory is not specified, the role skips this step. In ipmi_local.conf user can describe what modules to use for metric collection.
ipmi_up{collector="<NAME>"} is 1 if the data for this collector could successfully be retrieved from the remote host, 0 otherwise. The following collectors are available and can be enabled or disabled in the config: ipmi_up{collector="<NAME>"} is 1 if the data for this collector could successfully be retrieved from the remote host, 0 otherwise.
The following collectors are available and can be enabled or disabled in the config:
- ipmi: collects IPMI sensor data. If it fails, sensor metrics (see below) will not be available - ipmi: collects IPMI sensor data. If it fails, sensor metrics (see below) will not be available
- dcmi: collects DCMI data, currently only power consumption. If it fails, power consumption metrics (see below) will not be available - dcmi: collects DCMI data, currently only power consumption. If it fails, power consumption metrics (see below) will not be available
- bmc: collects BMC details. If it fails, BMC info metrics (see below) will not be available - bmc: collects BMC details. If it fails, BMC info metrics (see below) will not be available

View File

@@ -6,12 +6,16 @@ Deploy `prometheus/node_exporter` binary as a systemd unit.
Requirements Requirements
------------ ------------
None Target node:
- `tar`
- `gzip`
Role Variables Role Variables
-------------- --------------
`node_exporter_bin_path`: where to install the binary (default: `/usr/bin`). - `node_exporter_bin_path`: where to install the binary (default: `/usr/bin`).
Dependencies Dependencies
------------ ------------

View File

@@ -10,7 +10,10 @@ Prometheus configuration files and rules should be placed in separate directorie
Requirements Requirements
------------ ------------
None Target node:
- `tar`
- `gzip`
Role Variables Role Variables
-------------- --------------