Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Zabbix monitoring disk space for several volumes on several servers. It works fine on all of them except for one of the volumes on one of the servers which always reports as 0. However, when I run

./zabbix_get -s localhost -p 10050 -k 'vfs.fs.size[/home, free]'

locally on the machine in question, it gives me the correct, non-zero size which matches the output of df.

How can I go about troubleshooting and correcting this problem?

share|improve this question
What is in the agent log? 1.x or 2.x? Active or passive check? – chris Oct 18 '12 at 17:02
@chris: There's no mention of the vfs key in the log or any errors. Only startup messages (collectors, listeners, active checks). It's version 2.0.0. And the checks are active. Values are returned successfully for other volumes on this server. – Dennis Williamson Oct 18 '12 at 17:10
Can you post a screenshot of the item config for this host? Also, what is the latest data/history for the item showing are there previous dates with values other than 0? – bmurtagh Nov 5 '12 at 0:23
@bmurtagh: It's the same template as used by other similar servers which do not exhibit this problem. As I said in the original post, this volume on this server always shows 0 in the Zabbix data screen, but zabbix_get always reports a correct value. – Dennis Williamson Nov 5 '12 at 3:51
up vote 0 down vote accepted

It turns out that I had set the data type for /home to float, but for other volumes I had set it to unsigned decimal. On the servers that were reporting 0, the free space was larger than other servers and the value overflowed the field.

Setting the field type to unsigned decimal to match the others corrected the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.