[Nagiosplug-devel] [ nagiosplug-Bugs-886325 ] check_procs 1.40alpha1
SourceForge.net
noreply at sourceforge.net
Fri Feb 27 23:09:00 CET 2004
Bugs item #886325, was opened at 2004-01-28 11:24
Message generated for change (Comment added) made by kdebisschop
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=886325&group_id=29880
Category: None
Group: None
>Status: Pending
>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: Karl DeBisschop (kdebisschop)
Date: 2004-02-28 02: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 00: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