View Full Version : items questions(units and multipliers)
Hello,
Can anybody explain what are the units and the Use Multiplier for in the configuration items option?. Or tell me where I could investigate them?
Because I did not find them in the documentation, for the moment.
Thanks in advance
Nate Bell
01-08-2005, 17:20
The units are for indicating to Zabbix what type of data an Item is storing. So, for an Item that records diskspace, you might use somethine like B for a unit. This way, the data will be automatically stored as B, MB, or GB. I've found this varies depending on the Item, and sometimes I'll end up with an Item measured in Bytes that would make more sense being measured in MB, or GB.
This is where the multiplier comes in handy. If you choose the option to use it, you can enter a multiplier that will be applied to the data, and the results will be what Zabbix reports. For instance, my diskfree items use the unit B and the multiplier 1000 and their results get displayed in GB. Hope that helps,
Nate
THX, very much. Perfect explanation, now it comes completely clear for me thx a million.
nihilist
29-08-2005, 01:33
If it is measured in bytes, and you use a 1000 multiplier, then wouldn't it be measure it in kb? Or am I missing something?
Nate Bell
29-08-2005, 15:49
The data being recieved was already being measured in kbs. I think by telling Zabbix the data was to be measured in bytes, and multiplying by 1000, Zabbix was able to interpret the data in kbs. However, since the numbers were large enough, I think Zabbix automatically converted the data to MB or GB. That's my guess at least. I think I came to those values through trial and error, but this explaination sounds pretty good to me. :) Sorry for the confusion.
Nate
bbrendon
12-04-2006, 03:17
This still seems to be an area of confusions. In a changelog, I see:
added support for units (Mb, Kb, Gb, etc)
But putting Kb to a value that is collected in Kb, displays KKB.
This units feature really makes no sense. The only way I've gotten it to work is make the units Bytes and then mutlply K * 1024
Don't put M, K or G! Unit string is not supposed to have it. Use b,bps, B, whatever. If you receive data in KB use units B and multiplier 1024.
bbrendon
12-04-2006, 08:33
My first thought is that the word units should be changed to label.
That might make more sense to me. Hmmm
erisan500
12-04-2006, 09:11
Don't think so:
Label/Item = Free Disk Space
Value = 9
Unit = GB
Hope this clears it up.
EriSan