Commit Graph

9 Commits

Author SHA1 Message Date
Conrad Hoffmann
67041ef633 The great refactoring
- Move every collector into its own file
- Move FreeIPMI code into own package
- Allow more customization of commands executed by collectors
- Split up documentation, so README is a little less overwhelming

A single commit message does not do justice to the amount of changes
here, but hey... :)
2021-06-01 22:38:23 +02:00
Conrad Hoffmann
52c50a5e7e Supply proper version information
This only adds the facilities to do so, the version information itself
is currently only a git hash, as we have not tagged any releases so far.

With this in place, let's set up some CI system, maybe a few test stubs
and then we can do a 1.0 release.
2019-07-15 10:49:10 +02:00
Conrad Hoffmann
1a99329314 Refactor mapping of target to IPMI settings
Specifically, allow definition of a set of settings as module in the
configuration file, and the ability to use these settings by setting the
`module` URL parameter to the respective module name when scraping.

THIS COMMIT CHANGES THE CONFIG FORMAT IN A NON-BACKWARDS-COMPATIBLE WAY!

Based on this, the following "side effects" are noteworthy:

 - the exporter no longer requires a config file
 - the IPMI "privilege level" can be set in the config file
 - collectors can be enabled/disabled in the config file
 - anonymous IPMI access is now theoretically possible
 - there are now two example configurations (local & remote)

This fixes #10 by allowing to set the privilege level.
2019-03-16 16:11:32 +01:00
Conrad Hoffmann
25e67b2f9c Switch to kingpin command line parser
Unfortunately this is a breaking change, as this means going from
`-config.file` to `--config.file` syntax, but it needs to happen
eventually. It better aligns the IPMI exporter with the rest of the
Prometheus eco-system.

As a first benefit, expose the command line parameters that control the
logging library.
2019-02-20 20:11:49 +01:00
Conrad Hoffmann
b478aaf12e Remove unimplemented version flag
This was a leftover from when the exporter used more of the Prometheus
build tooling, which was eventually deemed overkill for such a small
project (at least until it has matured a bit).

There is currently no versioning of any significance anyways, so remove
it for now.

This fixes #15.
2019-02-15 11:33:15 +01:00
Conrad Hoffmann
1e16da97c1 Minor style fixes 2018-09-21 11:41:59 +02:00
Conrad Hoffmann
2c927eb68e Support collecting local IPMI metrics
This enables the standard `/metrics` endpoint. A scrape will trigger the
collection of IPMI metrics from the local machine (that the exporter is
running on).
2018-09-20 16:27:03 +02:00
Alexander Fahlke
ee3429f2fd fixes soundcloud/ipmi_exporter#8 2018-08-10 17:42:19 +02:00
Conrad Hoffmann
670b92c799 Initial public release 2018-05-24 16:28:06 +02:00