Michael Panzlaff
81fa732e79
lenovoDensePower: Improve documentation, fix things
...
Fix energy and time overflow handling. Send the metric as
"lenovo_node_power" per default. This should avoid clashes by default.
If you want the old behavior, use a router rule to rename the metric.
2026-07-03 18:57:06 +02:00
Michael Panzlaff
93622b72ac
lenovoDensePower: Fix linter checks
2026-07-03 17:45:19 +02:00
Michael Panzlaff
f48eb458e8
make fmt
2026-07-03 17:28:46 +02:00
Michael Panzlaff
9fb3d2300c
lenovoDensePower: Actually mark it as initialized after Init()
2026-07-03 17:20:46 +02:00
Michael Panzlaff
4372cb7994
lenovoDensePower: Strip newlines as well from output
2026-07-03 17:08:40 +02:00
Michael Panzlaff
a38804ab13
Use more compact decimals in lenovo ipmi test command
2026-07-03 17:08:01 +02:00
Michael Panzlaff
852ff18468
Add LenovoDensePower collector
2026-07-03 16:54:50 +02:00
Thomas Roehl
61570f9ecf
Merge branch 'main' of github.com:ClusterCockpit/cc-metric-collector
2026-06-30 12:49:50 +02:00
Thomas Roehl
d53ec9233d
Check scanner error and remove %w/%v formats
2026-06-30 12:48:14 +02:00
brinkcoder
aaabcc639f
fix: support SLUID-based Slurm cgroup directories
2026-06-26 12:22:08 +01:00
Michael Schwarz
14d624fd22
Logic error, move creation of map upwards
2026-06-22 15:08:43 +01:00
Michael Schwarz
9677a916be
Use map of included metrics instead of iterating through the config again and again
2026-06-22 15:08:43 +01:00
Michael Schwarz
8b373cc2c0
Add filter for ipmi metrics
2026-06-22 15:08:43 +01:00
Holger Obermaier
bed5491068
Fix Overflows in Infiniband collector ( #219 )
...
* Add information about the used infiniband counters
* Change datatype from int64 to uint64
* uint64 subtraction handles wraparound automatically
* Compute total rates by summing up the xmit and recv rates.
This avoids overflows in the raw counters
* Check for cases where the current counter can not be saved as last state
* Use golang variable naming convention (camelCase)
2026-06-08 14:00:09 +02:00
Holger Obermaier
656ea73d12
Fix: num_cpus could not be excluded
2026-05-07 14:47:23 +02:00
Holger Obermaier
330f923596
Fixed exclude_metrics and check for used metrics
2026-05-07 12:25:07 +02:00
Holger Obermaier
8e58072ff6
Use NewMetric to create a new metric
2026-05-06 13:22:02 +02:00
Holger Obermaier
0f6fee9db4
Do not save current state of infiniband counters, only last state is required
2026-05-06 10:42:06 +02:00
Holger Obermaier
7585ee7289
Add bandwidth metrics for ib_total and ib_total_pkts
2026-05-05 14:13:38 +02:00
Thomas Roehl
7cb5d1b47a
Add/update sudo configuration to all collectors with 'use_sudo'
2026-03-24 19:50:41 +01:00
Thomas Roehl
319e71a853
IpmiCollector: Remove unused configuration 'exclude_devices'
2026-03-24 19:48:34 +01:00
Michael Panzlaff
f816f4991b
ipmi: refactor and add sudo support
2026-03-24 15:06:47 +01:00
Michael Panzlaff
e40816eb17
ipmi: refactor and add sudo support
2026-03-24 14:24:35 +01:00
Thomas Roehl
13fc8a53d3
Memstat: Fix mem_shared and add more metrics
2026-03-17 18:07:30 +01:00
Holger Obermaier
35510d3d39
Use strict JSON decoding
2026-03-13 17:57:33 +01:00
Holger Obermaier
ef5e4c2604
Corrected json config
2026-03-13 17:57:33 +01:00
Holger Obermaier
2e60d3111c
Add config option to exclude metrics
2026-03-13 17:57:33 +01:00
Holger Obermaier
e8734c02db
Add config option for manual device configuration
2026-03-13 17:57:33 +01:00
Holger Obermaier
54650d40a6
Store query command for later reuse
2026-03-13 17:57:33 +01:00
Holger Obermaier
e7050834f5
* Honor config option excluded devices
...
* Use device type in read command
2026-03-13 17:57:33 +01:00
Holger Obermaier
893a0d69de
Improve error reporting
2026-03-13 17:57:33 +01:00
Holger Obermaier
345119866a
Switch from lp.NewMessage to lp.NewMetric
2026-03-13 17:57:33 +01:00
Holger Obermaier
ec917cf802
Switch from lp.NewMessage to lp.NewMetric
2026-03-13 17:57:33 +01:00
Holger Obermaier
c7cfc0723b
Fix all linter warnings
2026-03-13 17:57:33 +01:00
Holger Obermaier
4f2685f4c4
Addapt to new ccMessage syntax
2026-03-13 17:57:33 +01:00
Thomas Roehl
439bfacfd9
Add SmartMonCollector to CollectorManager
2026-03-13 17:57:33 +01:00
Thomas Roehl
cd4ac9c885
Add Collector for S.M.A.R.T disk data
2026-03-13 17:57:33 +01:00
Holger Obermaier
a481a34dcd
Avoid duplicate error printing
2026-03-12 10:08:23 +01:00
Holger Obermaier
b65576431e
Stricter json parsing ( #204 )
2026-03-11 15:59:14 +01:00
Michael Panzlaff
315f2750ea
Update to LIKWID 5.5.1
2026-02-24 17:54:40 +01:00
Michael Panzlaff
4a8159ef82
Fix possibly missing metrics in nfs collector
...
We should not rely on the availablity of certain nfs metrics at just the
collector start time. Allow new metrics to come in at any point.
2026-02-24 17:54:40 +01:00
Holger Obermaier
d639c942d5
Fix: Close file /proc/cpuinfo only once
2026-02-20 14:01:51 +01:00
Holger Obermaier
539581f952
Format with gofumpt
2026-02-16 14:16:03 +01:00
Holger Obermaier
9bb21b807a
Remove depreceated function ccTopology.CpuList()
2026-02-16 11:34:54 +01:00
Holger Obermaier
47e68dfd2f
Remove debug output
2026-02-16 11:02:50 +01:00
Holger Obermaier
40fe94cabb
Embedded types should be at the top of the field list of a struct.
...
And there should be an empty line separating embedded fields from regular fields
2026-02-16 10:54:12 +01:00
Holger Obermaier
83720aa5be
Use cc-lib lp.FromBytes, do not use influxdb client directly
2026-02-16 09:57:24 +01:00
Holger Obermaier
5829f86f4a
Goroutine creation can be simplified using WaitGroup.Go (modernize)
2026-02-13 15:52:36 +01:00
Holger Obermaier
64dab777a5
Replace deprecated functions ( #198 )
...
Replace depreceated functions
2026-02-13 15:15:17 +01:00
Holger Obermaier
9908d76aac
Cleanup ( #197 )
...
* Removed unused code
* Use cclog for logging
* Wrap errors so that they can be unwrapped
* Revert wrong use of slices.Delete()
* Fix derivative values should be float
* Suggestions from the gocritic linter
* Fixed: interface method AddChannel must have all named params (inamedparam)
* Enable linter: errorlint
* Replace fmt.Sprintf("%d", i)) by strconv.Itoa(i) for improved performance
* Correct misspelled words
* Break up very long lines into multiple lines
* lp.NewMessage -> lp.NewMetric
* Preallocate slices of known length
2026-02-13 09:36:14 +01:00