Ad Widget

Collapse

Windows perf counters "_Total" keyword; explanation please for a stupid newbie

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mander
    Junior Member
    • Apr 2016
    • 3

    #1

    Windows perf counters "_Total" keyword; explanation please for a stupid newbie

    Hi Zabbix community,

    I would like to monitor network throughput for my application with Zabbix. It's easy enough to rdp in to whatever server I'm deploying to, and check the available counters using typeperf -qx. This leads me to hardware-specific counters like
    \Network Interface(Intel[R] 82579LM Gigabit Network Connection)\Bytes Total/sec

    This is great, but I would like to create something templated that works more generically for arbitrary new machines. I kind of thought it would work to use the _Total keyword, as follows.
    \Network Interface(_Total)\Bytes Total/sec

    This is supported on my dev machine : ) but not the first server I tried deploying to : ( On the server, the call from my zabbix box throws a System.InvalidOperationException with message "Instance '_Total' does not exist in the specified Category".

    Could someone kindly give me a newb's primer to the windows perf monitoring _Total keyword? What is it, where is it defined, and why does it work on my (win 7) dev machine but not my (server 2012) server?
  • Chewbakka-Wakka
    Junior Member
    • Feb 2018
    • 25

    #2
    Run this:
    Get-Counter -ListSet * | select -expand PathsWithInstances | Select-String -Pattern "_Total"

    Use my template - https://github.com/Chewbakka-Wakka/z...r/OS%20Windows

    Comment

    Working...