[ZBX-18398] system.swap.size[,pfree] error on Windows with 0-sized pagefile Created: 2020 Sep 22  Updated: 2024 Apr 10  Resolved: 2020 Dec 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 5.0.4rc1
Fix Version/s: 5.0.8rc1, 5.2.4rc1, 5.4.0alpha1, 5.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Andris Mednis Assignee: Artjoms Rimdjonoks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

agent on MS Windows 10


Attachments: PNG File Screenshot from 2020-11-27 18-17-03.png    
Issue Links:
Duplicate
is duplicated by ZBX-18948 5.0.8 agent constantly logs swap item... Closed
Sub-task
depends on ZBX-20104 system.swap.size[*] returns random re... Closed
Team: Team C
Sprint: Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Create item system.swap.size[,pfree] for Windows 10 host, which has pagefile size 0. Set item's "Type of information" to "Numeric (float)".

Result:

Item is "Not supported" with error "Value of type "string" is not suitable for value type "Numeric (float)". Value "-nan(ind)"".
Expected:
Maybe 100.0, maybe 0.0 (could be decided and documented), but not a NaN.



 Comments   
Comment by Artjoms Rimdjonoks [ 2020 Dec 15 ]

Available in versions:

Generated at Sat Mar 15 07:22:03 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.