[Nagiosplug-devel] [ nagiosplug-Bugs-1082791 ] check_swap on hpux shows negative value

SourceForge.net noreply at sourceforge.net
Fri Dec 10 02:11:03 CET 2004


Bugs item #1082791, was opened at 2004-12-10 11:10
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=1082791&group_id=29880

Category: None
Group: snapshot tarball
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin (mroeh)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_swap on hpux shows negative value

Initial Comment:
Hi,

I'm using nagios-plugins-HEAD-200412080547 on hpux
11.00. Compiling works fine, but when I try to use the
check_swap I get the following error:
./check_swap -vvv -w90% -c80%
Command: /usr/sbin/swapinfo -dfM,
Format: %*s %d %*d %d
SWAP CRITICAL: -2147483547% free (0 MB out of 0 MB)
|swap=0MB;0;0;0;0

Output of /usr/sbin/swapinfo -dfM is
 Kb      Kb      Kb   PCT  START/      Kb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE 
PRI  NAME
dev     2097152       0 2097152    0%       0       - 
  1  /dev/vg00/lvol2
dev     17776640       0 17776640    0%       0       -
   1  /dev/vgswap/lvol1
memory  3217700 2425360  792340   75%

The same happened if the swap is used.

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

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




More information about the Devel mailing list