[Nagiosplug-devel] [ nagiosplug-Bugs-621872 ] check_swap prints blocks not bytes

SourceForge.net noreply at sourceforge.net
Wed Aug 20 02:40:05 CEST 2003


Bugs item #621872, was opened at 2002-10-11 14:31
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=621872&group_id=29880

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Ton Voon (tonvoon)
Summary: check_swap prints blocks not bytes 

Initial Comment:
tested on solaris 8 & 9 / sparc -  
last production plugins and 1.3 

output of plugin:
/usr/local/nagios/libexec/check_swap -w 80% -c 90%
Swap ok - Swap used: 53% (553744 bytes out of 1044464)


swap -s
total: 636192k bytes allocated + 161896k reserved = 798088k 
used, 437480k available


swap -l
swapfile             dev  swaplo blocks   free
/dev/dsk/c0t0d0s1   136,1      16 1044464 490720

as you can see the plugin is incorrectly reporting the blocks 
as "bytes".






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

>Comment By: Ton Voon (tonvoon)
Date: 2003-08-20 09:22

Message:
Logged In: YES 
user_id=664364

Closing this call since there are no responses.

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

Comment By: Ton Voon (tonvoon)
Date: 2003-06-29 02:52

Message:
Logged In: YES 
user_id=664364

The latest HEAD version will return swap information as MBs, 
which has been tested on Solaris & Linux.

If there are no responses to this call in the next seven days, this 
will be closed.

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

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




More information about the Devel mailing list