PDA

View Full Version : memory[*] on FreeBSD


erv
03-02-2005, 09:45
Could it be that memory[whatever] returns incorrect values from FreeBSD system? For example, I have little FreeBSD box (4.9-RELEASE) with a zabbix agent on it, it has 64Mb of physical memory, while memory[total] returns 56.10kb and memory[free] results ar of same order of magnitude. Or am I doing something wrong? :)

One more question - is there a hope for FreeBSD support for netloadin/out keys in future?

P.S. I am using zabbix 1.0 yet although plan to upgrade at some point.

Thanks in advance,
Ervins

bennethos
04-02-2005, 00:43
hi,

compare the data you get with /proc/meminfo

I doubt it to be incorrect :)

Alexei
04-02-2005, 06:23
Invalid multiplier? Check configuration of the item.

erv
04-02-2005, 09:38
No, the configuration is just as in Host.Unix template:

http://www.nav.lv/~erv/zabbix-item.png

(hostname hidden :) )

Alexei
04-02-2005, 09:43
Set the multiplier to 'K' (1024) and everything will be fine! The FreeBSD agent obviously returns total memory in kilo-bytes, so the value has to be multiplied by 1024.