[Nagiosplug-devel] [ nagiosplug-Bugs-1225470 ] check_swap performance info incorrect

SourceForge.net noreply at sourceforge.net
Wed Jun 22 04:57:05 CEST 2005


Bugs item #1225470, was opened at 2005-06-22 11:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1225470&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Keith Edmunds (backseat)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_swap performance info incorrect

Initial Comment:
If check_swap is invoked with percentage aguments the
performance data is incorrect:

-------------------------------------------------------------------
$ ./check_swap -V
check_swap (nagios-plugins 1.4) 1.47

$ ./check_swap -w 30% -c 20%   
SWAP OK: 94% free (894 MB out of 954 MB)
|swap=893MB;286;190;0;953
-------------------------------------------------------------------

In the performance data section is:
value=893
warn=286
crit=190
min=0
max=953

The value is above both the warn and crit values, which
in this case is correct (ie, not an error). It would be
better if the performance data were presented in
percentage terms if the input is in percentage terms.

One solution would be to express the warning and
critical values as an @range (alarm if within range)
with a lower value of zero.

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

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




More information about the Devel mailing list