Xymon Mailing List Archive search

Human readable disk space

list Steffan Noord
Thu, 31 Aug 2017 11:07:33 +0200
Message-Id: <009a01d32238$94f58e30$bee0aa90$@tikklik.nl>

@ Robert 

Im sorry yoy lost me

Where do you mean?

 
@jerremy
Would you like to share the file with me?

 
Van: Xymon [mailto:xymon-bounces at xymon.com] Namens Robert Herron
Verzonden: woensdag 30 augustus 2017 16:34
Aan: xymon Mailing List <xymon at xymon.com>
Onderwerp: Re: [Xymon] Human readable disk space

 
What does it do to the "Disk Usage" (aka disk1) graphs? 

 
disk = "Disk Utilization (% full)"

disk1 = "Disk Usage (bytes)

 
On Aug 30, 2017 5:48 AM, "Jeremy Ruffer" < <mailto:user-6d8e227afca3@xymon.invalid> user-6d8e227afca3@xymon.invalid> wrote:

I hacked xymonclient-linux.sh and changed k to G, I think. It actually took me a while to work out what I had changed.

This doesn't affect the graph which goes by percentage.

HTH

Jeremy Ruffer

 
On 30 August 2017 at 10:35, Richard Hamilton < <mailto:user-af55987f6d56@xymon.invalid> user-af55987f6d56@xymon.invalid> wrote:

Just at a guess, one could easily enough change the client-side scripts, but that would break the graphs, which probably need unscaled numbers.  Even if the graphing could have the ability to understand scaled numbers, that would introduce rounding errors (sort of a staircase effect on the graph) proportional to the scale in use for a particular number.

 
In principle, I guess the report could have one part that's human-readable, and another part that's used for the graphs.  How feasible that is, I'll leave to someone else to answer.

 
On Wed, Aug 30, 2017 at 4:27 AM, Steffan < <mailto:user-a2c231b1253e@xymon.invalid> user-a2c231b1253e@xymon.invalid> wrote:

Hello List,

Im using xymon for many years
I just wondering is there a easy way to make the output more readable?

Filesystem             1024-blocks      Used  Available Capacity Mounted on
/dev/mapper/sysvg-root    10321208   4397592    5399328      45% /
/dev/sda1                  1032088    152244     827416      16% /boot
/dev/mapper/sysvg-vz    1898719656 249544968 1552725360      14% /vz

As you see there is no scaling in the output to GB etc

Thanxs

Steffan


 <mailto:Xymon at xymon.com> Xymon at xymon.com