[Nagiosplug-devel] Bug in check_swap

Hampus Linden hampus at activemediatech.com
Fri Feb 27 05:21:06 CET 2004


Hi,

I have some strange behavior with check_swap and large swap slices.

[root at devapp01 /]# /usr/libexec/nrpe/check_swap -w 90% -c 95%
CRITICAL - Swap used: -2147483648% (0 out of 0)

Other usefull output:
[root at devapp01 /]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/mapper/Volume00-LogVol03            partition      3248120 5876    -1

[root at devapp01 /]# free
             total       used       free     shared    buffers     cached
Mem:       2072100    2045116      26984          0     271048    1557352
-/+ buffers/cache:     216716    1855384
Swap:      3248120       5876    3242244

Thanks.

Hampus Linden
System Administrator | Active Media
www.activemediatech.com






More information about the Devel mailing list