[Nagiosplug-devel] [ nagiosplug-Bugs-886325 ] check_procs 1.40alpha1
SourceForge.net
noreply at sourceforge.net
Sat Jan 1 08:35:07 CET 2005
Bugs item #886325, was opened at 2004-01-28 16:24
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=886325&group_id=29880
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Ralph Rye (norgetek)
Assigned to: Karl DeBisschop (kdebisschop)
Summary: check_procs 1.40alpha1
Initial Comment:
On AIX 5L the maximum command agruments display
with a ps command appears to be 2045 chars. When
using the check_procs on a WebSphere application
server, the check_procs segementation faults. I mod'd
the MAX_INPUT_BUFFER variable to 2048 and recompiled
the check_procs binary and every thing works fine.
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2005-01-01 16:34
Message:
Logged In: YES
user_id=664364
This appears to have been fixed. Closing.
----------------------------------------------------------------------
Comment By: Ralph Rye (norgetek)
Date: 2004-03-03 20:44
Message:
Logged In: YES
user_id=962361
I have tested this on AIX 5.1 & AIX 5.2 and the fix works.
Thanks,
Ralph
----------------------------------------------------------------------
Comment By: Karl DeBisschop (kdebisschop)
Date: 2004-02-28 07:05
Message:
Logged In: YES
user_id=1671
I have marked this bug a pending - it will automatically
close in 15 days if there is no response. I think the
problem is resolved, but I do not have access to AIX for
testing.
----------------------------------------------------------------------
Comment By: Karl DeBisschop (kdebisschop)
Date: 2004-02-20 05:13
Message:
Logged In: YES
user_id=1671
Thanks for the bug report.
Although I don't quite see where the segfault would be
created, you clearly have put your finger on a problem. I
diid not, however, want to replace an arbitrary 1024 with an
equally arbitrary 2048.
Instead I malloc more memory if needed. However, I do not
have access to AIX. can you try a build from CVS or the
snapshot? You're can be sure you have my proposed fix if you
run check_procs --version and get:
check_procs (nagios-plugins 1.4.0alpha1) 1.26
Thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=886325&group_id=29880
More information about the Devel
mailing list