Re: Error in check_disk / AIX system / large part
Frank Fegert <[email protected]>
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <[email protected]> |
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
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null