ZABBIX Forums  
  #1  
Old 14-12-2009, 23:23
ufocek ufocek is offline
Senior Member
 
Join Date: Aug 2006
Posts: 158
Default Free disk space bug? - Centos 5.4_x86_64 - zabbix agent 1.8

Hi,

I runing zabbix agent 1.8 on centos 5.4 server x86_64, when I was look in filesystes I see:

Free disk space on / 14 Dec 2009 23:19:21 7.46 TB
on real serwer it's a:
[root@hp-xen64 zabbix-1.8]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md0 9.5G 1.6G 7.5G 17% /

Other server where I have zabbix agent in version 1.8 but system is a i386 evrything is a good, only this host value is bad show.
Reply With Quote
  #2  
Old 15-12-2009, 22:06
richlv richlv is offline
Administrator
Zabbix certified trainerZabbix certified professionalZabbix certified specialist
 
Join Date: Oct 2005
Posts: 3,102
Default

see http://www.zabbix.com/documentation/...mportant_notes
Reply With Quote
  #3  
Old 18-12-2009, 13:48
ufocek ufocek is offline
Senior Member
 
Join Date: Aug 2006
Posts: 158
Default

Quote:
Originally Posted by richlv View Post
Hi,

If I set a Custom multiplier: 1024 now I see good information about how many size partition is used, but I don't know where is a problem and other serwer show me information in TB not GB

*
All hosts now are required to belong to at least one group. -> I have
*
CPU index for system.cpu.util key on Linux now starts with 0.
*
Support for PHP 4 dropped. -> I have 5.2.6
*
Key vfs.fs.size returns data in bytes for all operating systems now.
*
Key vfs.fs.size now takes into account reserved diskspace for root user.
*
Comment at the end of a configuration file line is not allowed anymore (this worked for numeric parameters only before).

Last edited by ufocek; 18-12-2009 at 13:53.
Reply With Quote
  #4  
Old 18-12-2009, 13:53
richlv richlv is offline
Administrator
Zabbix certified trainerZabbix certified professionalZabbix certified specialist
 
Join Date: Oct 2005
Posts: 3,102
Default

you should not set multiplier with zabbix agent 1.8 - previously diskspace was reported in kb on some systems, in bytes on others, so you had to multiply returned kb to get bytes. now it's in bytes everywhere - multiplier not needed anymore
Reply With Quote
  #5  
Old 18-12-2009, 16:02
ufocek ufocek is offline
Senior Member
 
Join Date: Aug 2006
Posts: 158
Default

Quote:
Originally Posted by richlv View Post
you should not set multiplier with zabbix agent 1.8 - previously diskspace was reported in kb on some systems, in bytes on others, so you had to multiply returned kb to get bytes. now it's in bytes everywhere - multiplier not needed anymore
Ok, but when I not set muliplier zabbix show me:

Free disk space on / 18 Dec 2009 15:56:37 6.63 MB - zabbix_agentd 1.6.x
Free disk space on / 18 Dec 2009 15:57:48 6.64 GB - zabbix_agentd 1.8.x

I have zabbix server in pre-zabbix-1.8-8771, one host have zabbix agent in version 1.8.x, and all of the rest have zabbix agent version 1.6.x
It's not compatible?
Reply With Quote
  #6  
Old 21-12-2009, 10:41
Firm Firm is offline
Senior Member
 
Join Date: Dec 2009
Posts: 339
Default

I've posted a ticket https://support.zabbix.com/browse/ZBX-1531 with the same problem.
Reply With Quote
  #7  
Old 29-01-2010, 16:35
stfnfrnr stfnfrnr is offline
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default

Quote:
Originally Posted by ufocek View Post
Ok, but when I not set muliplier zabbix show me:

Free disk space on / 18 Dec 2009 15:56:37 6.63 MB - zabbix_agentd 1.6.x
Free disk space on / 18 Dec 2009 15:57:48 6.64 GB - zabbix_agentd 1.8.x

I have zabbix server in pre-zabbix-1.8-8771, one host have zabbix agent in version 1.8.x, and all of the rest have zabbix agent version 1.6.x
It's not compatible?
The manual for 1.8 states "vfs.fs.size[fs <,mode>] Disk space in bytes"
Manual for 1.6: "vfs.fs.size[fs<,mode>] Disk space in KB"

So yes, it's not compatible.
One need to fix the multipliers in items and modify triggers :-(
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:35.