Error in check_disk / AIX system / large part

Samuel Mutel <smutel-BzZFE/mEuEHtuQHCaVeZA9i2O/[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <168d8b13-b0c5-49ef-91af-81c1dd759048@mail>
Hello,

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 ?

Regards,
Samuel Mutel.

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.