[Nagiosplug-devel] [ nagiosplug-Bugs-1573700 ] check_swap on HP-UX incorrect

SourceForge.net noreply at sourceforge.net
Thu Dec 7 23:39:37 CET 2006


Bugs item #1573700, was opened at 2006-10-09 13:34
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1573700&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Dick van den Burg (vandenburgd)
Assigned to: Ton Voon (tonvoon)
Summary: check_swap on HP-UX incorrect

Initial Comment:
The command that is generated by configure for checking
swap on HP-UX is "swapinfo -dfM," and it should be
"swapinfo -dfM" (without trailing comma).

check_swap now always returns "SWAP WARNING - 100% free
(0 MB out of 0 MB) |swap=0MB;0;0;0;0" because it can
not interpret the error message generated by the
spurious ','

The error is most likely caused by a spurious "'" at
line  1754 of configure.in and is propagated to line
42278 of configure in cersion 1.43 of nagios_plugins.

A quik workaround is to manually change the
SWAP_COMMAND in config.h after configuration.

Dick

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

>Comment By: Ton Voon (tonvoon)
Date: 2006-12-07 22:39

Message:
Logged In: YES 
user_id=664364
Originator: NO

Dick,

Thanks for your help. Applied to CVS (though looks like the commit emails
have not been sent...)

Ton

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

Comment By: Dick van den Burg (vandenburgd)
Date: 2006-12-07 19:48

Message:
Logged In: YES 
user_id=780242
Originator: YES

The error is (in version 1.4.5) at line 1442 of configure.in
ac_cv_swap_command="$PATH_TO_SWAPINFO -dfM", 
The error is the ',' at the end of the line

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

Comment By: Ton Voon (tonvoon)
Date: 2006-12-07 16:30

Message:
Logged In: YES 
user_id=664364
Originator: NO

Dick,

Thanks for the report. Unfortunately, I can't find the line you mean as
there are 1754 lines in configure.in. Can you take another look? I don't
have access to a HP/UX server.

Ton

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

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




More information about the Devel mailing list