Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16945

Hight swap space usage trigger expression in Template Module Windows memory by Zabbix agent (active)

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.4.1
    • 5.0.2rc1, 5.2.0alpha1, 5.2 (plan)
    • Templates (T)
    • Zabbix 4.4.1
      Zabbix agent 4.4.1 on Windows Server 2012R2/2016
      Templates 0.32
    • Team INT
    • Sprint 65 (Jun 2020)
    • 0.125

    Description

      Zabbix agent item 'system.swap.size[,pfree]' mays show wrong value on virtualized Windows hosts (VMWare, Hyper-V etc). Behavior is documented:**

      https://www.zabbix.com/documentation/4.4/manual/config/items/itemtypes/zabbix_agent

      Note that this key might report incorrect swap space size/percentage on virtualized (VMware ESXi, VirtualBox) Windows platforms. In this case you may use the perf_counter[\700(_Total)\702] key to obtain correct swap space percentage.

      So, maybe we should use performance counter in the template instead of system.swap.size item?

       

      In my case I've just replace it to 'perf_counter_en["\Paging file(_Total)\ % Usage"]' and change trigger expression as showing below:

      E.g. I have VM shv-vexch03 where performance counter returns ~8% page file usage and system.swap.size[,*pfree*] which returns 66% usage (100 - system.swap.size[,pfree]):

      Attachments

        Activity

          People

            mchudinov Maxim Chudinov
            asand3r Khatsayuk Alexander
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: