[ZBX-8822] vm.memory.size does not work properly on FreeBSD Created: 2014 Sep 25  Updated: 2017 May 30  Resolved: 2014 Sep 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 2.4.0
Fix Version/s: 2.2.7rc1, 2.4.1rc1, 2.5.0

Type: Incident report Priority: Blocker
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-8824 on FreeBSD all vm.memory.size* items ... Closed

 Description   

All FreeBSD related items do not work properly since Zabbix 2.4.0:

#2.4.0 & 2.5.0 alpha
[zbxserv ~]# for i in total active buffers cached free used pused available pavailable; do echo $i && zabbix_get -s freebsd_host -k vm.memory.size[$i]; done
total
ZBX_NOTSUPPORTED
active
ZBX_NOTSUPPORTED
buffers
ZBX_NOTSUPPORTED
cached
ZBX_NOTSUPPORTED
free
ZBX_NOTSUPPORTED
used
ZBX_NOTSUPPORTED
pused
ZBX_NOTSUPPORTED
available
ZBX_NOTSUPPORTED
pavailable
ZBX_NOTSUPPORTED
#2.2.7rc1
[zbxserv ~]# for i in total active buffers cached free used pused available pavailable; do echo $i && zabbix_get -s freebsd_host -k vm.memory.size[$i]; done
total
2003857408
active
28340224
buffers
117342208
cached
45273088
free
48152576
used
197189632
pused
10.019126
available
1815465984
pavailable
92.243096


 Comments   
Comment by Alexey Pustovalov [ 2014 Sep 25 ]

additional information on russian: https://www.zabbix.com/forum/showthread.php?t=46922

Comment by Aleksandrs Saveljevs [ 2014 Sep 25 ]

In Zabbix 2.2, while it correctly returns the numbers, these items have error message set, too:

$ zabbix_agentd -t 'vm.memory.size[total]'
vm.memory.size[total]                         [u|513413120] [m|ZBX_NOTSUPPORTED]

This will be fixed in 2.2 and the originally reported problem will be fixed in 2.4.

Comment by Aleksandrs Saveljevs [ 2014 Sep 25 ]

Fix for 2.2 is available in development branch svn://svn.zabbix.com/branches/dev/ZBX-8822-2.2 and fix for 2.4 is available in svn://svn.zabbix.com/branches/dev/ZBX-8822-2.4.

Comment by Aleksandrs Saveljevs [ 2014 Sep 26 ]

Fixed in pre-2.2.7 r49397, pre-2.4.1 r49399, and pre-2.5.0 (trunk) r49405.

Generated at Sat Apr 27 07:59:15 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.