I'm using bosun to monitor my servers.
One strange problem is that in its default configuration it is reporting absurd figures for disk space. For example on one of my servers it says the root partition is 440% free. The true figure is about 51%.
In examining this I've found that the linux.disk.fs.space_total metric is returning twice the correct size of my disk...
[root@my-host-name ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 8.0G 3.9G 4.2G 49% /
Bosun/scollector claim:
linux.disk.fs.space_total{environment=staging,host=my-host-name,role=gordo}: 16.10907G
Strangely the measurement of space used is still correct:
linux.disk.fs.space_used{environment=staging,host=my-host-name,role=gordo}: 4.36486G
I haven't given scollector any weird settings for its filesystem stuff. Can anyone give me a pointer towards getting the correct figures?
Software versions are:
[root@my-host-name ~]# /opt/go/bin/scollector -version
scollector version 0.3.0-dev
root@bosun:/data/bosun# /opt/bosun-linux-amd64 -version
bosun version 0.3.0 (9386abc03b9d074e42dbbe5eb5944ee88ca641f6) built 2015-07-13T15:17:11Z