[Nagiosplug-devel] Error in check_disk / AIX system / large part

Frank Fegert fra.nospam.nk at gmx.de
Thu May 23 18:52:05 CEST 2013


Hello,

On Thu, May 23, 2013 at 02:18:49PM +0200, Samuel Mutel wrote:
> I encounter an issue on check_disk plugin.
> 
> The two bug report below is related to my issue.
> 
> https://sourceforge.net/tracker/?func=detail&aid=3613736&group_id=29880&atid=397597
> https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2918714&group_id=29880
> 
> I tried to see in the source code what is wrong, but I need some help.
> 
> I think that the problem is in fsusage.c.
> On line 231 : fsp->fsu_bavail = PROPAGATE_TOP_BIT (fsd.f_bavail);
> I add this printf("bavail:%g\n",fsd.f_bavail);
> 
> On little part, I have the result (712G) : bavail:2.94574e-300
> On large part, I have the result (11,4T) :  bavail:-4.72129e-44
> 
> I think that the issue is around this peace of code.
> Can you help me ?

had the same issue on our TSM servers (with very large GPFS filesystems).
The easiest solution that worked for me was to build a 64bit version of
the nagios-plugins and deploy them on servers with large filesystems.
E.g. with xlC:
  OBJECT_MODE="64"; export OBJECT_MODE
  CC="cc -q64"; export CC
  AR="/usr/bin/ar -X64"; export AR
  ./configure ...

You can check if this resolves your issue with my nagios-plugins RPM
for AIX: http://www.bityard.org/blog/2013/05/01/aix_rpms_nagios-nrpe_nagios-plugins

HTH & best regards,

    Frank




More information about the Devel mailing list