PDA

View Full Version : Unit problem ?


ram_0000
30-09-2004, 18:28
The web interface displays "Free disk space on / 30 Sep 16:57:53 1094038.13 GB"

I really like to know that I have 1094 Tera Bytes free on my Hard disk.

More seriously is there a mistake in displayed units.

It displays too "Total disk space on / 30 Sep 16:39:23 2164715.59 GB "

and the result of the command "df -k" gives me
myhost:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 2885216 1280980 1457676 47% /

Why is tere a difference between what zabbix and df output

Thank you for help
Raymond

Alexei
30-09-2004, 19:56
Most probably you have Multiplier incorrectly set for the monitored parameter.

Check it in Item Configuration Screen.

cooper
01-10-2004, 07:51
The web interface displays "Free disk space on / 30 Sep 16:57:53 1094038.13 GB"

I really like to know that I have 1094 Tera Bytes free on my Hard disk.

Raymond

1000 tera bytes???????? It sounds like you are off by several orders of magnitude. Unless that is, you are a ridiculusly large research or institutional facility

rumor
01-10-2004, 10:53
Yeah... It's just a misconfiguration, nothing more!
I guess You just played with Units and Multiplier (Configuration of Items)!

ram_0000
01-10-2004, 10:54
Most probably you have Multiplier incorrectly set for the monitored parameter.

Check it in Item Configuration Screen.

Mulktiplier was part of the problem but it does not fix everything

now I have:
Total disk space on / 2113.98 GOctets

the Item configuration setting are:
Key:disktotal[/]
Units:Octets
Multiplier:-


Hope it will help

rumor
01-10-2004, 11:16
diskfree by deafult returns value in Kb
So, just leave Units empty...

ram_0000
01-10-2004, 12:08
diskfree by deafult returns value in Kb
So, just leave Units empty...

Here are the tests I made and the results:
Key:disktotal[/]
Unit:empty
Multiplier:-
Result:2269868816081.28

Key:disktotal[/]
Unit:Bytes
Multiplier:-
Result:2113.98 GBytes

Key:disktotal[/]
Unit:Things
Multiplier:-
Result:2113.98 GThings

Key:disktotal[/]
Unit:Bytes
Multiplier:K(1024)
Result:2164715.59 GBytes

The real size of the disk as shown by the df command:
myhost:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 2885216 1184608 1554048 44% /

Can somebody explain this ?
Raymond

rumor
01-10-2004, 12:15
Try Units:Oz.!

Seriosly man - I recommended:
Units :
Multiplier:-

Alexei
01-10-2004, 12:36
Here are the tests I made and the results:
Key:disktotal[/]
Unit:empty
Multiplier:-
Result:2269868816081.28

...

The real size of the disk as shown by the df command:
myhost:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 2885216 1184608 1554048 44% /
Please, could you give platform details and also version of the agent. Thanks.

ram_0000
01-10-2004, 14:54
Please, could you give platform details and also version of the agent. Thanks.

My host is a PC running a Linux Debian OS
myhost:~# uname -a
Linux myhost 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i586 GNU/Linux

The hard disk is as follow:
myhost:~# fdisk /dev/hda

Disk /dev/hda: 3227 MB, 3227148288 bytes
128 heads, 63 sectors/track, 781 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 3 729 2931264 83 Linux
/dev/hda2 730 781 209664 82 Linux swap
/dev/hda3 1 2 8032+ 12 Compaq diagnostics
Partition table entries are not in disk order

This host has the following zabbix processes:
zabbix_suckerd,
zabbix_trapperd on port 10001,
and zabbix_agentd on port 10002

nothing special in the zabbix_agentd.log file but debug level is set to 3 in the zabbix_agentd.conf file

The version zabbix is the one I found on the zabbix web site few days ago (I think it is a 1.0 version)

Raymond