Commit Graph

13 Commits

Author SHA1 Message Date
Aleksandr Aleksandrov 45ff1b4947 feat: custom SEL events metrics
Signed-off-by: Aleksandr Aleksandrov <aleks.aleksandrov@corp.mail.ru>
2024-01-12 18:17:14 +03:00
Erdem Agaoglu 5a4e594b68 Add collector for bmc-watchdog
Some BMC's provide a watchdog functionality, i.e. taking some specified
action if a timer is not reset within a specified time. freeipmi tools
have a bmc-watchdog command to control and also report the current status
of such function. This collector reports that information.

Signed-off-by: Erdem Agaoglu <erdem.agaoglu@gmail.com>
2023-11-14 18:24:36 +03:00
Konstantin Shalygin d318a749a1
Now, `ipmi_dcmi_power_consumption_watts` metric is not present if Power
Measurement feature is not present. Before this change - the value was zero

Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
2023-08-30 15:59:47 +03:00
Aleksandr Snisarenko 14d5e6716f added chassis cooling fault and drive fault metrics 2023-02-15 17:49:51 +03:00
Conrad Hoffmann 6a0e85dd89 Fix spelling 2022-10-31 09:53:34 +01:00
SuperQ 39622179c4
Add TLS/auth config
Add the exporter-toolkit to support TLS and authentication.
* Cleanup error throwaway in logging calls.
* Bump Go modules.

Signed-off-by: SuperQ <superq@gmail.com>
2022-02-24 13:03:23 +01:00
Conrad Hoffmann ffd2720d1b Remove ineffective assignment 2021-12-10 19:59:30 +01:00
Conrad Hoffmann e1906fa46c Satisfy linter
I don't see what else to do with the messages at this point if logging
were to fail...
2021-12-10 19:59:30 +01:00
Conrad Hoffmann 2c787083a3 Do not ignore potential error 2021-12-10 19:59:30 +01:00
snaar 6cf04baf94 fix unsupported value type in debug logs due to attempting to log structs directly
Signed-off-by: snaar <snaar@snaar.net>
2021-11-09 00:47:53 -05:00
SuperQ 70b78ffa78
Switch logging to promlog
Replace deprecated common/log with common/promlog.
* Update Go modules.

Signed-off-by: SuperQ <superq@gmail.com>
2021-09-21 14:44:11 +02:00
SuperQ e649afb008
Update for Prometheus Community
* Update Makefile.common from prometheus/prometheus.
* Switch from Cirrus to CircleCI.
* Add CHANGELOG.md and VERSION.
* Drop inline /vendor.
* Update references to old github URL.
* Update copyrights.
* Update Go version.
* Skip building on aix (undefined: syscall.Mkfifo)

Signed-off-by: SuperQ <superq@gmail.com>
2021-09-21 13:42:22 +02:00
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