Page 1 of 1

Where is size of 'free storage' in instance status coming?

Posted: Mon Jun 26, 2017 12:36 pm
by jjeremydiaz
I am currently running an instance with a store size of 48 GB and my free disk space using df is 64GiB (68GB). Why is the size of the 'free storage' in the instance status page 72.4GB when i only have 68GB actually free? Where is the extra 4GB coming from? Is the 'free storage' in the instance status page in GiB instead of GB?

Thanks

Re: Where is size of 'free storage' in instance status comin

Posted: Mon Jun 26, 2017 2:53 pm
by cdienger
Thanks for pointing this out. It does appear to be labeled incorrectly. I'll ping dev.

Re: Where is size of 'free storage' in instance status comin

Posted: Mon Jun 26, 2017 3:40 pm
by cdienger
I'd like to get a copy of the df output as well a screenshot of the full Instance Status screen and the output of:

Code: Select all

curl -XGET "http://localhost:9200/_cat/shards?v"
while I look into this.

Re: Where is size of 'free storage' in instance status comin

Posted: Wed Jul 12, 2017 12:12 pm
by jjeremydiaz
Sorry for the late response. Were you able to find anything? Attached are the outputs your requested.

Re: Where is size of 'free storage' in instance status comin

Posted: Thu Jul 13, 2017 11:28 am
by cdienger
Hey Jeremy, this fell from the radar a bit but I was able to confirm the same behavior on my machine. If you run:

Code: Select all

curl -XGET 'http://localhost:9200/_nodes/stats?pretty'
you see the free_in_bytes field returned. NLS converts that to GiB but tacks on a GB in the UI. I've pinged dev regarding this.

Re: Where is size of 'free storage' in instance status comin

Posted: Thu Jul 13, 2017 4:20 pm
by cdienger
The UI will be updated to show GiB in 2.0. The roadmap can be found at https://www.nagios.com/roadmaps .