[Nagiosplug-devel] check_disk plugin fails on 80 TB filesystem

Ton Voon ton.voon at altinity.com
Tue Sep 25 11:18:08 CEST 2007


On 25 Sep 2007, at 02:43, sean finney wrote:

>> Given that I'm sure others will, like me, download binary RPMs which
>> were likely compiled on 32-bit architectures, I guess the bigger
>> question now is "Is there any way to make this the default without
>> impacting anything else?"  Could you perhaps try the statfs using the
>> 32-bit code first, and if the EOVERFLOW error is returned,  
>> automatically
>> retry with the 64-bit options?
> i think it would be simpler to just compile with those options by  
> default.
> more specifically, in ./configure:
> - test for the existance of getconf
> - test for non-empty output of getconf LFS_CFLAGS
> - if non-empty, append it to CFLAGS
> - provide a way to disable that
> if no one has any objections i guess i can take a stab at this.

Can I suggest you have a look at how coreutils does this? We use the  
gnulibs directly, but I'm guessing that coreutil's df command handles  
this nicely.


T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon

More information about the Devel mailing list