You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG REPORT: check_pdh argument perf-config=*(suffix:none) does not work as expected #307
Describe the bug
Selector suffix for check_pdh command argument perf-config replaces the complete perf-data value name.
To Reproduce
Running below check_pdh command:
.\snclient.exe run check_pdh "counter=\PhysicalDisk(*)\Avg. Disk Queue Length" 'perf-config=*(suffix:none)'
results into performance data renamed to always 'none':
OK - All 3 counter values are ok |'none'=0;;;0 'none'=0;;;0 'none'=0;;;0
Expected behavior
It's expected that the command argument behaves equal to nsclient++ and only replaces (or with none removes) the suffix '_value' from the performance data name, like below:
OK - All 3 counter values are ok |'\PhysicalDisk(_Total)\Avg. Disk Queue Length'=0;;;0 '\PhysicalDisk(0 E:)\Avg. Disk Queue Length'=0;;;0 '\PhysicalDisk(1 C: D:)\Avg. Disk Queue Length'=0;;;0
Screenshots
Software (please complete the following information):
Activity
[-]BUG REPORT:[/-][+]BUG REPORT: `check_pdh` argument `perf-config=*(suffix:none)` does not work as expected[/+]sni commentedon Dec 18, 2025
Thanks for reporting this. Didn't know "none" is a special keyword here.