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

SourceForge.net noreply at sourceforge.net
Sat Jan 1 08:42:10 UTC 2005


Bugs item #1082791, was opened at 2004-12-10 10:10
Message generated for change (Comment added) made by tonvoon
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: Ton Voon (tonvoon)
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.

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

>Comment By: Ton Voon (tonvoon)
Date: 2005-01-01 16:41

Message:
Logged In: YES 
user_id=664364

Martin,

Can you attach the output from swapinfo -dfM in a file please, so I can 
test parsing with that?

Ton

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

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




More information about the Nagiosplugin-devel mailing list