check_swap reports negative numbers with 2.6 kern el, ok with 2.4

Karl DeBisschop karl at debisschop.net
Tue Apr 13 05:24:04 CEST 2004


On Mon, 12 Apr 2004 07:59:39 -0400
"Novick, Jeff" <novickj at toysrus.com> wrote:

> Has anyone else seen this behavior? Any suggestions?

Already patched in CVS HEAD - try a nightly snapshot.

> Thank you,
> Jeff
> -----Original Message-----
> From: Novick, Jeff [mailto:novickj at toysrus.com] 
> Sent: Wednesday, April 07, 2004 8:29 AM
> To: 'nagios-users at lists.sourceforge.net'
> Subject: [Nagios-users] check_swap reports negative numbers with 2.6
> kernel, ok with 2.4
> 
> 
> 
> Hi, 
> 
> With the 2.6.5 kernel, check_swap reports: 
> entweb:/usr/local/nagios/libexec# ./check_swap -w 15% -c 30% 
> CRITICAL - Swap used: -2147483648% (0 out of 0) 
> 
> If I reboot the server with 2.4.25, it reports: 
> entweb:/usr/local/nagios/libexec# ./check_swap -w 15% -c 30% 
> Swap ok - Swap used:  0% (0 out of 1011699712) 
> 
> entweb:/usr/local/nagios/libexec# ./check_swap -V 
> check_swap (nagios-plugins 1.3.1) 1.9 
> The nagios plugins come with ABSOLUTELY NO WARRANTY. You may
> redistribute copies of the plugins under the terms of the GNU General
> Public License. For more information about these matters, see the file
> named COPYING. 
> 
> Running nagios-plugins-1.3.1 on Slackware 9.1 with all updates. 
> Any ideas? 
> 
> Thank you, 
> Jeff 
> 
> 
> 
> =====================================================================
> === This email message is for the sole use of the intended recipient
> (s) and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited. If
> you are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original message. To reply to our
> email administrator directly, send an email to EmailAdmin at toysrus.com.
> 
> 
> Toys "R" Us, Inc. 
> 
> 
> =====================================================================
> === This email message is for the sole use of the intended recipient
> (s) and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited. If
> you are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original message. To reply to our
> email administrator directly, send an email to EmailAdmin at toysrus.com.
> 
> Toys "R" Us, Inc.
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list