check_swap problem

Dt lao_deng at yahoo.com
Tue Sep 9 15:31:05 CEST 2003


We are using nagios 1.0, I am puzzled by the output of
check_swap.
There is 4Gb swap every node, why check_swap report
there only 2147483647?
Thanks in advance!
-----------------------------------------------------------------
[root at rs0066 etc]#
/usr/local/nagios/libexec/check_swap -w 80 -c 90
CRITICAL - Swap used: 100 (2147483647 bytes out of
2147483647)
[root at rs0066 etc]# free 
             total       used       free     shared   
buffers     cached
Mem:       2059028    2053644       5384          0   
 176884    1578604
-/+ buffers/cache:     298156    1760872
Swap:      4192912    2563360    1629552
[root at rs0066 etc]# more /proc/meminfo 
        total:    used:    free:  shared: buffers: 
cached:
Mem:  2108444672 2102931456  5513216        0
181129216 1639182336
Swap: 4293541888 2624880640 1668661248
MemTotal:      2059028 kB
MemFree:          5384 kB
MemShared:           0 kB
Buffers:        176884 kB
Cached:        1578604 kB
SwapCached:      22160 kB
Active:         504580 kB
Inact_dirty:    927616 kB
Inact_clean:    345452 kB
Inact_target:   524272 kB
HighTotal:     1179584 kB
HighFree:         2216 kB
LowTotal:       879444 kB
LowFree:          3168 kB
SwapTotal:     4192912 kB
SwapFree:      1629552 kB
----------------------------------------------------------------------

Regards
Dong Tao

_________________________________________________________
Do You Yahoo!? 
启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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