Ad Widget

Collapse

"High Swap Space Usage" reported on servers with no swap space usage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ErikCarlseen
    Junior Member
    • Jun 2020
    • 5

    #1

    "High Swap Space Usage" reported on servers with no swap space usage

    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:
    Click image for larger version  Name:	ZabbixSwapUtilizationReport.jpg Views:	0 Size:	19.4 KB ID:	406274
    However, if I go onto the server and use WMIC to check for swap (pagefile) utilization, I get this:

    Click image for larger version  Name:	ZabbixActualSwapUtilizationWMIC.jpg Views:	0 Size:	24.1 KB ID:	406275

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

    Click image for larger version  Name:	ZabbixActualSwapUtilizationTaskManager.jpg Views:	0 Size:	60.3 KB ID:	406276

    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.

    UPDATE: Created bug report: https://support.zabbix.com/browse/ZBX-18180
    Last edited by ErikCarlseen; 01-08-2020, 19:05.
Working...