Commit Graph

118 Commits

Author SHA1 Message Date
Conrad Hoffmann 2ae0db3934 Misc doc fixes for README and example configs 2020-07-26 17:16:30 +02:00
Conrad Hoffmann 35a6530c50 Document new "system firmware version" in BMC info 2020-07-26 16:46:54 +02:00
Conrad Hoffmann 2c6a73b151 Add system firmware version to BMC info metric
Add the "system firmware version" (i.e. the host's "BIOS version", as
opposed to the BMC firmware version) as a label to the `bmc_info`
metric.

This fixes #51.
2020-07-26 16:39:08 +02:00
Conrad Hoffmann ef4e20a936
Merge pull request #49 from cdn77/detect-lan-mode
Add new metric config_lan_mode
2020-07-24 15:32:30 +02:00
Jakub Chábek 534775f13a Add new metric config_lan_mode 2020-06-30 10:40:54 +02:00
Conrad Hoffmann 26628185da Update all dependencies 2020-04-22 22:58:50 +02:00
Conrad Hoffmann 07736995e0 Update Makefile.common to latest version 2020-04-22 22:58:50 +02:00
Conrad Hoffmann 0aa63d4c21 Add SEL collector
It exposes two metrics about the IPMI system event log (SEL), the
current number of entries stored in it and the free space for new
records. The collector is not enabled by default, it has to be
explicitly enabled in the config.

Related to #41.
2020-04-22 22:58:29 +02:00
Conrad Hoffmann 7d7e33dc93 Log error if pipe deletion fails
Hopefully this helps to shed some light on #42.
2020-03-06 09:56:31 +01:00
Conrad Hoffmann aecd42dbb0 Update dependencies 2020-02-14 15:08:53 +01:00
Conrad Hoffmann 3b9965040c
Merge pull request #44 from cawamata/master
add ipmi-chassis info to README.md
2020-02-14 14:09:18 +01:00
cawamata fff7d37cc8
add ipmi-chassis info to README.md 2020-01-29 09:13:23 +09:00
Conrad Hoffmann a8c821cb15
Merge pull request #39 from zliuva/master
Adding config options for workaround_flags.
2019-12-18 18:24:39 +01:00
zliuva 636235f6da Adding config options for workaround_flags. 2019-12-18 08:51:47 -08:00
Conrad Hoffmann 9243e9fc9f Misc fixes for the Dockerfile
- Copy local repo when building instead of using go get
 - Fix accidentally copying dir instead of executable to final container
 - Use combination of ENTRYPOINT and CMD as preset

Fixes #37, #38.
2019-10-26 15:24:52 +02:00
Conrad Hoffmann f76900aa23 Refactor and update README a bit 2019-10-18 15:06:28 +02:00
Conrad Hoffmann c2e5bad2d2 Do not make all targets phony 2019-10-18 15:06:28 +02:00
Conrad Hoffmann 376cbdb0f1 Support `make docker` to build container
It gets build via the Makefile.common's `common-container` target.
2019-10-18 11:59:37 +02:00
Conrad Hoffmann 6759fce7ed Use prometheus tooling to build docker container
It should be more aligned with how releases are (will be) built.
Ideally, we release container images as well, but this will not be in
place for the first release.
2019-10-18 11:42:15 +02:00
Conrad Hoffmann bbdab3989a Update license text 2019-10-16 13:52:36 +02:00
Conrad Hoffmann 5e699d473e Add Cirrus CI integration 2019-10-16 13:52:36 +02:00
Conrad Hoffmann 85875ebc14
Merge pull request #34 from msherman64/ipmi-chassis
Ipmi-chassis power on/off state
2019-10-15 10:58:58 +02:00
Michael Sherman 25d1fd0ef8 Check chassis power state
Use ipmi-chassis to check power on /off
report via ipmi_chassis_power_state
enable via "chassis" module
2019-10-14 15:43:30 -04:00
Conrad Hoffmann 41ce90557f Update Makefile.common to latest upstream version 2019-10-14 15:45:19 +02:00
Conrad Hoffmann a94c4127e4 Update dependencies 2019-10-14 15:45:19 +02:00
Conrad Hoffmann 5ac3a479c5
Merge pull request #36 from neoaggelos/docker
Added Dockerfile and example docker-compose.yml
2019-10-14 15:44:24 +02:00
Aggelos Kolaitis 277c9cc91c Added Dockerfile and docker-compose.yml 2019-10-11 22:38:21 +03:00
Conrad Hoffmann a569d7a035
Merge pull request #35 from cawamata/non-root-execute-guide
Add how to execute as non root to README.md
2019-10-11 13:09:35 +02:00
cawamata e2c299b38e
Update README.md 2019-10-10 11:04:18 +09:00
cawamata d0b97919ac
Add how to execute as non root to README.md
https://github.com/soundcloud/ipmi_exporter/issues/32
2019-10-06 18:35:19 +09:00
Conrad Hoffmann 3ec5c4f7f5
Merge pull request #31 from badrabubker/master
No sensor state for PSU sensor on old BMC's
2019-10-01 14:45:01 +02:00
Badreddin ac6dbe2e02 add --ignore-unrecognized-events flag
to avoid NaN in sensor reading when sensor Event has unrecognized-events
2019-10-01 11:29:41 +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 f8edf32a85
Merge pull request #28 from SuperQ/circleci
Add Prometheus-style makefile for building and publishing.
2019-07-15 10:48:29 +02:00
Ben Kochie 79fa0cbc80
Drop circleci config. 2019-07-09 14:53:41 +02:00
Conrad Hoffmann 0c4198b97e
Merge pull request #29 from SuperQ/update
Update vendoring
2019-07-09 14:28:43 +02:00
Ben Kochie eafa8b9ac3
Update vendoring
Bump all vendoring.
2019-07-09 14:19:54 +02:00
Ben Kochie 3965f19954
Add CircleCI for build and publish.
* Use the Prometheus standard build setup.
* Add CircleCI build and publish workflow.
2019-07-09 14:14:54 +02:00
Conrad Hoffmann 2831ff87a0
Merge pull request #27 from SuperQ/go-modules
Convert vendoring to Go modules.
2019-07-09 13:46:29 +02:00
Ben Kochie 6e63422baf
Convert vendoring to Go modules.
Minimal conversion of existing vendoring to Go modules.
2019-07-05 13:06:58 +02:00
Conrad Hoffmann e2ddbbf31c Add pointer to ipmi-sensors man page
Unfortunately the `freeipmi.conf` man page does not list the available
options for the driver type, add this pointer so people will find them.
2019-05-27 11:31:16 +02:00
Conrad Hoffmann 11f380924f Escape hashes in password for config file
The hash is the comment character in the config file, even if it occurs
in the middle of the password. This can be worked around however by
escaping it.

This fixes #16.
2019-04-15 11:01:59 +02:00
Conrad Hoffmann ab356b2890 Remove accidentally merged debug output 2019-04-15 10:57:45 +02:00
Conrad Hoffmann f2e4ae38ce
Merge pull request #22 from soundcloud/bitfehler/timeout
Allow setting the session timeout
2019-04-15 10:03:42 +02:00
Conrad Hoffmann a4a57fe40b Allow setting the session timeout
Now that we have a good config framework in place, this is low-hanging
fruit. Will apply to all collectors used, so total scrape time for
Prometheus could be (timeout * #-of-collectors) milliseconds for a given
module.

Related to #20.
2019-03-22 12:27:32 +01:00
Conrad Hoffmann 0c4d5f0ea2
Merge pull request #21 from dannyk81/log_rmcp_host
Add rmcp host info to log messages
2019-03-21 13:57:02 +01:00
Danny Kulchinsky 6aa7866dc1 rebased and adjusted per #17 2019-03-20 11:08:18 -04:00
Danny Kulchinsky 7108701389 one more log 2019-03-20 11:05:18 -04:00
Danny Kulchinsky a908a34812 typo :) 2019-03-20 11:05:18 -04:00
Danny Kulchinsky 7e5c643b90 adding rcmp.host to error log messages 2019-03-20 11:05:18 -04:00