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

Incorrect swap utilization on certain Win2016 servers reported by Agent1 5.0.2

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.2
    • Agent (G)
    • None
    • Windows Server 2016, 32GiB RAM.

      I just added two Windows 2016 servers to Zabbix monitoring (5.0.2 server and 5.02 Agent1 / not using Agent2), and both show 0% swap space free:

      However, if I go onto the server and use WMIC to check for swap (pagefile) utilization, I get this:

      This is unsurprising, as the server in question is provisioned with 32GiB of RAM and is only using about 11GiB, as reported by TaskMangler:

      If I kick up the debug level on the agent to '5', this is what I get in the logs there:

      12144:20200801:092603.661 End of send_buffer():SUCCEED
       *12144:20200801:092603.661 for key [system.swap.size[,free]] received value [0]*
       *12144:20200801:092603.662 In process_value() key:'<<<MY MONITORED HOST>>>:system.swap.size[,free]' lastlogsize:null value:'0'*
       12144:20200801:092603.663 In send_buffer() host:'<<<MY ZABBIX SERVER>>>' port:10051 entries:3/100
       12144:20200801:092603.664 send_buffer() now:1596299163 lastsent:1596299163 now-lastsent:0 BufferSend:5; will not send now
       12144:20200801:092603.664 End of send_buffer():SUCCEED
       12144:20200801:092603.665 buffer: new element 3
       12144:20200801:092603.666 End of process_value():SUCCEED
       12144:20200801:092603.667 In need_meta_update() key:system.swap.size[,free]
       12144:20200801:092603.667 End of need_meta_update():FAIL
       12144:20200801:092603.668 In send_buffer() host:'<<<MY ZABBIX SERVER>>>' port:10051 entries:4/100
       12144:20200801:092603.669 send_buffer() now:1596299163 lastsent:1596299163 now-lastsent:0 BufferSend:5; will not send now
       12144:20200801:092603.669 End of send_buffer():SUCCEED
       *12144:20200801:092603.670 for key [system.swap.size[,pfree]] received value [0.000000]*
       *12144:20200801:092603.671 In process_value() key:'<<<MY MONITORED HOST>>>:system.swap.size[,pfree]' lastlogsize:null value:'0.000000'*
       12144:20200801:092603.672 In send_buffer() host:'<<<MY ZABBIX SERVER>>>' port:10051 entries:4/100
       12144:20200801:092603.672 send_buffer() now:1596299163 lastsent:1596299163 now-lastsent:0 BufferSend:5; will not send now
       12144:20200801:092603.673 End of send_buffer():SUCCEED
       12144:20200801:092603.674 buffer: new element 4
       12144:20200801:092603.675 End of process_value():SUCCEED
       12144:20200801:092603.675 In need_meta_update() key:system.swap.size[,pfree]
       12144:20200801:092603.676 End of need_meta_update():FAIL
       12144:20200801:092603.677 In send_buffer() host:'<<<MY ZABBIX SERVER>>>' port:10051 entries:5/100
       12144:20200801:092603.677 send_buffer() now:1596299163 lastsent:1596299163 now-lastsent:0 BufferSend:5; will not send now
       12144:20200801:092603.678 End of send_buffer():SUCCEED
       *12144:20200801:092603.679 for key [system.swap.size[,total]] received value [5100273664]*
       *12144:20200801:092603.680 In process_value() key:'<<<MY MONITORED HOST>>>:system.swap.size[,total]' lastlogsize:null value:'5100273664'*
       12144:20200801:092603.680 In send_buffer() host:'<<<MY ZABBIX SERVER>>>' port:10051 entries:5/100
       12144:20200801:092603.681 send_buffer() now:1596299163 lastsent:1596299163 now-lastsent:0 BufferSend:5; will not send now
       12144:20200801:092603.682 End of send_buffer():SUCCEED
       12144:20200801:092603.683 buffer: new element 5
       12144:20200801:092603.683 End of process_value():SUCCEED
       12144:20200801:092603.684 In need_meta_update() key:system.swap.size[,total]
       12144:20200801:092603.685 End of need_meta_update():FAIL
       12144:20200801:092603.685 In send_buffer() host:'<<<MY ZABBIX SERVER>>>' port:10051 entries:6/100
       12144:20200801:092603.686 send_buffer() now:1596299163 lastsent:1596299163 now-lastsent:0 BufferSend:5; will not send now
       12144:20200801:092603.687 End of send_buffer():SUCCEED
       12144:20200801:092603.740 Empty WMI search result.
      

      Looks like there is some problem with the agent getting the correct swap utilization info via WMI. This is only occurring on two of my Windows 2016 servers. The differences between these servers and others in my environment are the RAM provisioning (exactly 32GiB) and they're running Microsoft Exchange 2016 (probably unrelated). I have servers with more RAM and less RAM being monitored that do not have this issue.

       

            zabbix.support Zabbix Support Team
            ErikCarlseen Erik Carlseen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: