pdh: report duplicate instances by occurrence instead of renaming them (#2742)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-16 09:58:43 +02:00
committed by GitHub
parent d8dbf852d1
commit 43d77f6869
32 changed files with 832 additions and 266 deletions
@@ -42,6 +42,9 @@ type collectorADAccessProcesses struct {
type perfDataCounterValuesADAccessProcesses struct {
Name string
// Occurrence makes pdh return every process with the same name; the
// label logic in collectADAccessProcesses keeps them apart.
Occurrence int
LdapReadTime float64 `perfdata:"LDAP Read Time"`
LdapReadOperationsTotal float64 `perfdata:"LDAP Read Time,secondvalue"`