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 and Thomas Gruber
35510d3d39
Use strict JSON decoding
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
ef5e4c2604
Corrected json config
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
2e60d3111c
Add config option to exclude metrics
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
e8734c02db
Add config option for manual device configuration
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
54650d40a6
Store query command for later reuse
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
e7050834f5
* Honor config option excluded devices
...
* Use device type in read command
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
893a0d69de
Improve error reporting
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
345119866a
Switch from lp.NewMessage to lp.NewMetric
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
ec917cf802
Switch from lp.NewMessage to lp.NewMetric
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
c7cfc0723b
Fix all linter warnings
2026-03-13 17:57:33 +01:00
Holger Obermaier and Thomas Gruber
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 and GitHub
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 and GitHub
64dab777a5
Replace deprecated functions ( #198 )
...
Replace depreceated functions
2026-02-13 15:15:17 +01:00
Holger Obermaier and GitHub
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
Holger Obermaier and GitHub
fc297854d2
Golangci modernize fixes ( #196 )
...
* Fix: Loop can be simplified using slices.Contains
* Fix: for loop can be modernized using range over int
* Fix: interface{} can be replaced by any
* Fix: Replace m[k]=v loop with maps.Copy
* Run all linters with golangci-lint
2026-02-10 13:33:04 +01:00
Holger Obermaier and GitHub
cca0d23efa
Golangci lint fixes ( #195 )
...
* Add golangci-lin as make target
* Fix: could omit type ... from declaration; it will be inferred from the right-hand side (staticcheck)
* Fix func intArrayContains is unused (unused)
* Fix: could use strings.ReplaceAll instead (staticcheck)
* Fix: could expand call to math.Pow (staticcheck)
* Fix: could use tagged switch on `...` (staticcheck)
* Fix: Error return value of `...` is not checked (errcheck)
* Fix: ineffectual assignment to err (ineffassign)
* Fix: There is no need to wait for command completion
* Add cpustat, diskstat and schedstat config
* Use slices to exclude metrics
* Replaced stringArrayContains by slices.Contains
* Replace m[k]=v loop with maps.Copy
* Use module slices from the standard library. Remove use of golang.org/x/exp/slices
* Use SplitSeq and max to modernize code
2026-02-09 14:51:31 +01:00
Holger Obermaier
c58790cd54
Switch to cc-lib v2
2026-01-15 11:30:50 +01:00
Roland Pabel and GitHub
92f6c75d23
Gpfs collector restructure ( #182 )
...
* restructure metric similiar to lustre collector
* make sure total metric is not saved if none of the base metrics are present
* reuse variable
* corrections per ho-ob review
2025-12-01 14:52:18 +01:00
Thomas Roehl
6243203880
Fix startup error of iostat collector
2025-10-20 17:06:10 +02:00
Thomas Roehl
c7c9f8c273
Fix max clock metrics
2025-10-20 17:05:59 +02:00
Roland Pabel and Thomas Gruber
6a4ad067ac
return new error
2025-10-20 16:29:36 +02:00
Roland Pabel and Thomas Gruber
ed2378f794
StartsWith -> HasPrefix
2025-10-20 16:29:36 +02:00
Roland Pabel and Thomas Gruber
99e066ff5f
docu update for sudo
2025-10-20 16:29:36 +02:00
Roland Pabel and Thomas Gruber
67cdbefb02
getting filename from error doesn't work, mmpmon path must be provided when using sudo
2025-10-20 16:29:36 +02:00
Roland Pabel and Thomas Gruber
b522aca693
fix config.Mmpmon is the empty string because of the error thrown
2025-10-20 16:29:36 +02:00
Roland Pabel and Thomas Gruber
ea7c4f4ec7
correctly check for EACCESS when searching for mmpmon with exec.LookPath
2025-10-20 16:29:36 +02:00
Roland Pabel and Thomas Gruber
09cf89a951
with sudo, ignore EPERM for exec.LookPath
2025-10-20 16:29:36 +02:00
Roland Pabel and Thomas Gruber
d6499935a4
enable sudo support
2025-10-20 16:29:36 +02:00
brinkcoder and Thomas Gruber
97e09f13f4
fix numastat collector sending node metrics instead of memoryDomain metrics
2025-10-20 16:12:58 +02:00
Roland Pabel and Thomas Gruber
e08bd3d926
fix wrong variable in calculation of gpfs_reads_rate
2025-10-15 17:20:08 +02:00
brinkcoder and Thomas Gruber
69d4567ecf
add support for passwordless sudo
2025-10-07 13:10:17 +02:00
brinkcoder and Thomas Gruber
c5183feafc
add slurm_cgroup Collector
2025-10-07 13:10:17 +02:00
776af72231
Add meta operations and total values as value per second ( #151 )
...
Co-authored-by: Michael Schwarz <schwarz@uni-paderborn.de >
2025-07-03 14:57:59 +02:00