Ad Widget

Collapse

Perf counters don't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gijs007
    Member
    • Oct 2017
    • 40

    #1

    Perf counters don't work

    I've successfully created several performance counters checks for Zabbix on Windows.
    However I have three checks which don't report any data:

    1. Page Faults: perf_counter["\Memory\Page Faults/sec",60]
    2. Page File Peak usage: perf_counter["\Paging File(_Total)\% Usage Peak",300]
    3. Page File usage: perf_counter["\Paging File(_Total)\% Usage",30]

    When I test them in the command prompt with "typeperf" they work fine.
    I don't have a clue as to why these performance counters aren't working in Zabbix. Does anyone have a suggestion?
  • Chewbakka-Wakka
    Junior Member
    • Feb 2018
    • 25

    #2
    I Just use it like this as it is easier:
    perf_counter[\Memory\Page Faults/sec]
    As for those other 2... The key is simply wrong somewhere.

    Get-Counter -ListSet * | select -expand PathsWithInstances | Select-String -Pattern "Paging"

    \Hyper-V Dynamic Memory VM(*)\Smart Paging Working Set Size
    \Paging File(\??\C:\pagefile.sys)\% Usage
    \Paging File(_Total)\% Usage
    \Paging File(\??\C:\pagefile.sys)\% Usage Peak
    \Paging File(_Total)\% Usage Peak



    Comment

    Working...