Commit Graph

11 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 46a9390d2c Documentation for bmc-watchdog
Signed-off-by: Erdem Agaoglu <erdem.agaoglu@gmail.com>
2023-11-14 18:24:36 +03:00
oliverpool 09cfb9d02f
doc: timeout must be greater than 1000 2021-08-04 16:46:08 +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
Conrad Hoffmann 2ae0db3934 Misc doc fixes for README and example configs 2020-07-26 17:16:30 +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
zliuva 636235f6da Adding config options for workaround_flags. 2019-12-18 08:51:47 -08: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 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 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 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