Performance Counters of data type float always return 0
-
Hi,
I got some problems with Performance counters that should return floats. E.g. I've added a parameter "PhysicalDisk(_Total)\Avg. Disk sec/Read" (not in agent config, only by using General->Select) and changed the data type to "Floating Point Number". However, it returns always 0.
I also tried perfmon equivalences of counters that are available by the NetXMS Agent (like "Average disk queue length for last minute" => "PhysicalDisk(_Total)\Avg. Disk Queue Length"), those values are always 0.
Other counters that return integers or strings are working fine.
Anyone got an idea how to fix this?
Best regards
Stefan
-
Hi,
yes, there was a bug in WINPERF subagent. I just fixed it. Fix will be included in 2.0-M5. Also, attached is winperf.nsm for 2.0-M4 x64 with a fix.
Best regards,
Victor
-
-
-
@mclifford said in Performance Counters of data type float always return 0:
I am running agent version 2.05-x64 and I am getting a returned value of 0 for the following.
\PhysicalDisk(1 E:)\Avg. Disk sec/Read
\PhysicalDisk(1 E:)\Avg. Disk sec/Write
\PhysicalDisk(1 E:)\Disk Reads/sec
\PhysicalDisk(1 E:)\Disk Writes/secIf you haven't verify in windows using performance monitor on that machine that there actually are other values then 0, the counters usually don't save average values indefinitely hence returning 0 on low activity.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login