[Xymon] Human readable disk space

Jeremy Ruffer jeremy.ruffer at gmail.com
Sun Sep 3 12:36:57 CEST 2017


That's the advantage of using df -B G.
It's still working in blocks and just increases the size of the blocks.
Jeremy Ruffer

On 3 September 2017 at 10:48, Jeremy Laidman <jlaidman at rebel-it.com.au>
wrote:

> Steffan
>
> The table shown in the disk test page is directly from the "df" command
> executed on the client. This can't be modified without also changing the
> parser (in xymond_client), because it assumes that the numbers are in
> blocks.
>
> It would be possible to make your own test column to use in place of
> "disk" and then reformat the client data message to your liking - perhaps
> even constructing an HTML table. However you'd either have to name it
> something other than "disk" and have two tests almost the same, or you'd
> need to somehow suppress the "disk" message from the xymond_client process.
> I'm not sure how you would do this.
>
> Of course it's open source, so you're free to adjust xymond_client to
> reformat the disk status message any way you see fit. In short, I don't see
> any easy way to do this.
>
> Cheers
> Jeremy
>
>
> On 30 August 2017 at 18:27, Steffan Noord <steffannoord at gmail.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170903/c9bdbcd2/attachment.html>


More information about the Xymon mailing list