Commit Graph

11 Commits

Author SHA1 Message Date
TJ Hoplock 90bb0c0c16 chore!: adopt slog, drop go-kit/log
The bulk of this change set was automated by the following script which
is being used to aid in converting the various exporters/projects to use
slog:

https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434

Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
2024-10-17 20:28:12 -04:00
Oleh Astappiev d6e55de0b6
Add `--output-sensor-state` argument to ipmi-sensors command
I received an error collection ipmi sensors status, because my output table is missing status column. It can be added by the argument according to `--help` information.
2022-06-08 16:29:21 +02: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
Konstantin Shalygin 7d129e6750
Added target to debug logs
When we need to debug special target on exporter among dozens of hosts - target is necessary for greps

Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
2022-01-21 14:43:48 +03:00
Conrad Hoffmann abcfdf3569
Merge pull request #89 from tomhughes/fan-percent
Add support for fan sensors which report as a percentage
2022-01-11 20:30:43 +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
Tom Hughes 5d7b5cbb57 Add support for fan sensors which report as a percentage
Fan sensors on HP servers report speed as a percentage of the
maximum instead of a raw RPM value.

Signed-off-by: Tom Hughes <tom@compton.nu>
2021-11-14 10:45:57 +00: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