[Nagiosplug-devel] [ nagiosplug-Bugs-1082791 ] check_swap on hpux shows negative value
SourceForge.net
noreply at sourceforge.net
Tue Feb 8 02:36:33 CET 2005
Bugs item #1082791, was opened at 2004-12-10 11:10
Message generated for change (Comment added) made by mroeh
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: Martin (mroeh)
Date: 2005-02-08 11:35
Message:
Logged In: YES
user_id=1090618
Hi Ton,
I have just installed v1.4 with check_swap version 1.47 but
the problem still exists. The whished output is
./check_swap -avvv -w90% -c80%
Command: /usr/sbin/swapinfo -dfM,
Format: %*s %f %*d %f
SWAP CRITICAL: -2147483547% free (0 MB out of 0 MB)
|swap=0MB;0;0;0;0
Regards
Martin
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2005-01-21 01:26
Message:
Logged In: YES
user_id=664364
Martin,
Looks like you have added an output file. Is this still a problem? Can you
also give a check_swap -v -v -v -w90% -c80% output too?
Ton
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2005-01-13 19:30
Message:
Logged In: YES
user_id=664364
There have been some changes to the use of floating point
variables in check_swap. Can you please try with the latest
snapshot (updated in check_swap v 1.46).
If it is still a problem, please attach an output of swapinfo -
dfM.
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2005-01-01 17: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 Devel
mailing list