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
We use nsclient++ on a bunch of servers, most working perfectly.
Our Win-Admins decided to use the "user profile disk"-feature on an RDP-server.
After a while nsclient++ log the following error messages:
2021-12-08 07:24:45: error:c:\source\master\modules\CheckSystem\pdh_thread.cpp:307: Failed to query performance counters: disk_queue_length_24 Failed to poll counter \VS0449\Physikalischer Datenträger(24)\Zeit (%): c0000bc6: Die Daten sind ungültig.
about every 2s
Furthermore we established a monitoring check watching the logfile size - so just ignoring is not possible, since we want to get notified if something's wrong (alias_nsclientlog = check_files "path=c:/Program Files/nsclient++/nsclient.log" "warn=size > 1M" "crit=size > 10M")
My assumption is, that a new disk with the next index for the counter is created every time a user is logging in with the "user profile disk"-feature - and they go away, when a users logs out (currently I see 0,1,2,3,4,5,6,7,8,9,10,11,12,18 as index) and nsclient++ complains correctly there's no 24.
I didn't configure counter checks on any disc > 2 - so I assume furthermore there is some "standard" mechanism reading all disks subsequently 0-maxIndex e.g. when checkSystem is enabled, which is the cause for the log entries
Log should stay clean since no checks are configured
Actual Behavior
Log fills up
Details
NSClient++ version: 0.5.2.35 2018-01-28
OS and Version: Windows Server 2016 Datacenter
Checking from: icinga(1)
Checking with: check_nrpe
Additional Details
NSClient++ log:
2021-12-08 07:24:45: error:c:\source\master\modules\CheckSystem\pdh_thread.cpp:307: Failed to query performance counters: disk_queue_length_24 Failed to poll counter \\VS0449\Physikalischer Datenträger(24)\Zeit (%): c0000bc6: Die Daten sind ungültig.
about every 2s
The text was updated successfully, but these errors were encountered:
For me the problem of logs is on windows server 2019
I don't have this problem with windows 2016 servers
Maybe a performance counter problem with windows server 2019
Issue and Steps to Reproduce
We use nsclient++ on a bunch of servers, most working perfectly.
Our Win-Admins decided to use the "user profile disk"-feature on an RDP-server.
After a while nsclient++ log the following error messages:
2021-12-08 07:24:45: error:c:\source\master\modules\CheckSystem\pdh_thread.cpp:307: Failed to query performance counters: disk_queue_length_24 Failed to poll counter \VS0449\Physikalischer Datenträger(24)\Zeit (%): c0000bc6: Die Daten sind ungültig.
about every 2s
Furthermore we established a monitoring check watching the logfile size - so just ignoring is not possible, since we want to get notified if something's wrong (alias_nsclientlog = check_files "path=c:/Program Files/nsclient++/nsclient.log" "warn=size > 1M" "crit=size > 10M")
My assumption is, that a new disk with the next index for the counter is created every time a user is logging in with the "user profile disk"-feature - and they go away, when a users logs out (currently I see 0,1,2,3,4,5,6,7,8,9,10,11,12,18 as index) and nsclient++ complains correctly there's no 24.
I didn't configure counter checks on any disc > 2 - so I assume furthermore there is some "standard" mechanism reading all disks subsequently 0-maxIndex e.g. when checkSystem is enabled, which is the cause for the log entries
I can provide more details by request
Expected Behavior
Log should stay clean since no checks are configured
Actual Behavior
Log fills up
Details
Additional Details
NSClient++ log:
The text was updated successfully, but these errors were encountered: