[Nagiosplug-devel] [ nagiosplug-Bugs-905971 ] check_swap bug with Linux 2.6

SourceForge.net noreply at sourceforge.net
Fri Feb 27 21:25:00 CET 2004


Bugs item #905971, was opened at 2004-02-27 11:34
Message generated for change (Comment added) made by kdebisschop
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=905971&group_id=29880

Category: Parsing problem
Group: None
Status: Open
>Resolution: Fixed
Priority: 7
Submitted By: Ton Voon (tonvoon)
>Assigned to: Karl DeBisschop (kdebisschop)
Summary: check_swap bug with Linux 2.6

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

2.4: cat /proc/meminfo  |grep -i swap
Swap: 4145455104  1544192 4143910912
SwapCached:        316 kB
SwapTotal:     4048296 kB
SwapFree:      4046788 kB

2.6: cat /proc/meminfo |grep -i swap
SwapCached:          0 kB
SwapTotal:     2097144 kB
SwapFree:      2097144 kB

This is a parsing problem for Linux 2.6 systems.

Bug reported by Hampus Linden.

----------------------------------------------------------------------

>Comment By: Karl DeBisschop (kdebisschop)
Date: 2004-02-28 00:21

Message:
Logged In: YES 
user_id=1671

Please check CVS head - works on my 2.6 system, but I have
much less swap than you.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=905971&group_id=29880




More information about the Devel mailing list