Ad Widget

Collapse

perf_counter active vs passive 50% difference in value's zabbix 4.0.11

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Radboud
    Junior Member
    • Mar 2019
    • 25

    #1

    perf_counter active vs passive 50% difference in value's zabbix 4.0.11

    Dear Zabbix users,

    we are experiencing a strange problem with zabbix 4.0.11 server and agents hope somebody can help.
    We have configured a performance counter for total cpu load on our windows servers (2016).
    perf_counter[\Processor(_Total)\% Processor Time]

    the problem is that when this check is configured as an active check is shows wrong data (cpu load +50%)
    if we switch this same item to passive check its show the correct value.
    If we restart the agent on the windows server it stays ok for about 30 minuten and then it goes off again with a +50% load.
    See the graph were we do (almost) the same item active vs passive
    Any idea why this is happening?

    config of item:
    Zabbix Agent 4.0.11 64bit msi installer.
    the config for this item is:

    Name: CPU in % Active
    Type : Zabbix Agent active (Green Line)
    Key: perf_counter[\Processor(_Total)\% Processor Time]
    type of information: Numeric(float)
    Units: %
    Update interval: 2m

    Name: CPU load in % Passive
    Type : Zabbix Agent Passive (Red Line)
    Key: perf_counter["\Processor(_Total)\% Processor Time"]
    type of information: Numeric(float)
    Units: %
    Update interval: 2m
    Click image for larger version  Name:	Screenshot 2019-08-29 at 15.40.13.png Views:	1 Size:	44.1 KB ID:	385278
    Last edited by Radboud; 29-08-2019, 16:01.
  • Radboud
    Junior Member
    • Mar 2019
    • 25

    #2
    ok we found the problem.
    The key didn't have an interval in the item key, so it uses the default. of 1 sec,
    we used an interval of 2 minuten, we also use some powershell scripts for some other items,
    after about an half hour, it looks that a powershell script, and the perf counter sync up.
    (looks like they run parallel) when both were active items.

    after changing the key to perf_counter[\Processor(_Total)\% Processor Time,120]
    with update interval: 2m (120s) it looks like it returns the expected values now.


    Comment

    Working...