I have the error
CRIT: Counter not found: \PhysicalDisk(0 C:)\Avg. Disk Read Queue Length: The specified instance is not present. (800007D1)
coming up for some of my servers. The query is the default one in the Windows base checks - I have not changed it one bit
-H $HOSTADDRESS$ -c nsc_checkcounter -a 'MaxCrit=12 MaxWarn=6 "Counter=\PhysicalDisk(0 C:)\Avg. Disk Read Queue Length"'
The strange thisn is it work sform some servers and not for others, i cannot see a pattern as for why it works and why it doesnt. I have a mixture of 2003, 2008r2 and 2012 servers and its working on all different kinds, just not for some.
One server is also bringing up a slightly different error -
CRIT: Counter not found: \PhysicalDisk(0 C:)\Avg. Disk Read Queue Length: The specified object is not found on the system. (C0000BB8)
This server has exactly the same disk configuration as another one that works so I cant work out what is going on.
I have read other posts that suggest there maybe a syntax error in the query, suggesting to double up on backslashes but doing this just breaks everything and it quesry obviously works as some servers are display the correct output.
Can anyone shed any light on this?