hobbit-confreport.sh not working
list Michael Nemeth
Hobbit Monitor 4.2-alfa-20060423 sunos 5.9 geting Interal Server Errorr and apache log shows premature end of head. Ok 20060423 a bit old cann't update untill after Thurday because of a demo. But because of the demo I want to know if thereis a simple work around or fix. Thanks -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael Nemeth
Hobbit Monitor 4.2-alfa-20060502 sunos 5.9 geting Interal Server Error and apache log shows premature end of script headers.
▸
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner
▸
On Thu, May 25, 2006 at 06:21:35AM -0400, Michael Nemeth wrote:
Hobbit Monitor 4.2-alfa-20060502 sunos 5.9 geting Interal Server Error and apache log shows premature end of script headers.
Missing an initialiser inside the alert-printing routine, I think. Fixed in tomorrows snapshot. Henrik
list Michael Nemeth
Still not working with may 31 snapshot
▸
sunos 5.9
geting Interal Server Error and apache log shows premature end of script headers.
▸
On Thu, May 25, 2006 at 06:21:35AM -0400, Michael Nemeth wrote:Hobbit Monitor 4.2-alfa-20060502 sunos 5.9 geting Interal Server Error and apache log shows premature end of script headers.
Missing an initialiser inside the alert-printing routine, I think. Fixed in tomorrows snapshot.
Henrik -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner
▸
On Wed, May 31, 2006 at 11:30:17AM -0400, Michael Nemeth wrote:
Still not working with may 31 snapshot sunos 5.9 geting Interal Server Error and apache log shows premature end of script headers.
Does this help ?
Henrik
-------------- next part --------------
--- web/hobbit-confreport.c 2006/05/25 14:30:30 1.14
+++ web/hobbit-confreport.c 2006/05/31 16:12:40
@@ -8,7 +8,7 @@
/* */
/*----------------------------------------------------------------------------*/
-static char rcsid[] = "$Id: hobbit-confreport.c,v 1.14 2006/05/25 14:30:30 henrik Exp $";
+static char rcsid[] = "$Id: hobbit-confreport.c,v 1.15 2006/05/31 16:12:38 henrik Exp $";
#include <sys/types.h>
#include <sys/stat.h>
@@ -446,7 +446,7 @@
}
xfree(alert);
- if (buf) {
+ if (STRBUFLEN(buf) > 0) {
fprintf(stdout, "<tr>\n");
fprintf(stdout, "<th align=left valign=top>Alerts</th>\n");
fprintf(stdout, "<td><table border=0 cellpadding=\"3\" cellspacing=\"5\" summary=\"%s alerts\">\n", host->hostname);
list Michael Nemeth
YES! look like the patch fixed it. Ive not checked closely but no errors and looks ok. Thanks. PS I can no longer reply directly to mailing list so IM sorry if this break threads!
▸
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++