Add collector to read data from ipmitool or ipmi-sensors (fallback) (#9)

* Add collector to read data from ipmitool or ipmi-sensors

* Update IPMI collector to use own config

* Add 'ipmitool sensor' parser
This commit is contained in:
Thomas Gruber
2021-11-25 18:15:56 +01:00
committed by GitHub
parent c6edf7aed4
commit 1e7a75598e
3 changed files with 139 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ The base class/configuration is located in `metricCollector.go`.
* `cpustatMetric.go`: Read CPU specific values from `/proc/stat`
* `topprocsMetric.go`: Reads the Top5 processes by their CPU usage
* `nvidiaMetric.go`: Read data about Nvidia GPUs using the NVML library
* `ipmiMetric.go`: Collect data from `ipmitool` or as fallback `ipmi-sensors`
If any of the collectors cannot be initialized, it is excluded from all further reads. Like if the Lustre stat file is not a valid path, no Lustre specific metrics will be recorded.