2 Jan
2008
2 Jan
'08
2:17 p.m.
On Mon, Dec 17, 2007 at 04:43:51PM +0100, Charles Goyard wrote:
Hi,
I encounter a serious problem when using the following rule in hobbit-alerts.cfg :
EXSERVICE=_site SCRIPT=/usr2/hobbitlocal/bin/send_to foobar FORMAT=text RECOVERED REPEAT=6m
when BBALPHAMSG is large (ie a "procs" or "ports" on a very busy box), the log says :
2007-12-17 16:31:01 Could not launch paging script /usr2/hobbitlocal/bin/send_to: Argument list too long
The attached patch can be used to solve this, it puts an upper limit on the size of the status message passed through the BBALPHAMSG environment variable. The limit is defined at compile-time through a setting in the top-level Makefile.
I think this will apply on top of 4.2.0 as well.
Henrik