From neil.camp@deca.mil Wed Jun 24 08:13:44 2026
From: neil.camp@deca.mil
To: xymon@xymon.com
Subject: Premature end of script headers: bb-hostsvc.sh, referer: ...
Date: Wed, 08 Feb 2006 15:58:50 -0500
Message-ID:
<46767C80BA9CD64E9D0A816C9384FB5293FF62@A10HQCIS0MAIL01.apps.deca.mil>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6770822466706688574=="
--===============6770822466706688574==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Hello all. I finally got everything compiled and installed on an HP-UX
server. I have added the recommended lines to my httpd.conf, but now
every time I try to drill down on any of the tests I get and error 500
page and the following error in my webserver log...
Premature end of script headers: bb-hostsvc.sh, referer:
https://odin......
It seems like only a few times this has popped up in the past due to a
bug. I was wondering if anyone could give me some pointers since I have
probably mis-configured something.
--neil
ManTech
DeCA Operations Systems Administrator
(804) 734-8353
neil.camp at deca.mil
-----Original Message-----
From: Chris Wopat [mailto:chrisw at supranet.net]
Sent: Wednesday, February 08, 2006 12:21 PM
To: hobbit at hswn.dk
Subject: [hobbit] Hobbit Sensitivity lowered?
Hello,
I switched from BB to hobbit about a month ago and have been generally
happy. One thing that's "different" is that Hobbit seems to be more
sensitive to services timing out, such as during an http check.
I don't see anything in bb-services related to this, is there any global
setting somwhere to permit me to allow a check to take a few more ms to
respond before it's considered "red"? My bb2.html file is frequently red
due to this, although it only lasts a few seconds.
Is there an appropriate way to do this without hacking code and finding
the timeout period?
Thanks,
--Chris
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
--===============6770822466706688574==--
From stef.coene@docum.org Wed Jun 24 08:13:44 2026
From: stef.coene@docum.org
To: xymon@xymon.com
Subject: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
Date: Wed, 08 Feb 2006 22:07:56 +0100
Message-ID: <200602082207.56649.stef.coene@docum.org>
In-Reply-To:
<46767C80BA9CD64E9D0A816C9384FB5293FF62@A10HQCIS0MAIL01.apps.deca.mil>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0389106547596425090=="
--===============0389106547596425090==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
On Wednesday 08 February 2006 21:58, Camp, Neil D. (ManTech) CTR wrote:
> Hello all. I finally got everything compiled and installed on an HP-UX
> server. I have added the recommended lines to my httpd.conf, but now
> every time I try to drill down on any of the tests I get and error 500
> page and the following error in my webserver log...
> Premature end of script headers: bb-hostsvc.sh, referer:
> https://odin......
> It seems like only a few times this has popped up in the past due to a
> bug. I was wondering if anyone could give me some pointers since I have
> probably mis-configured something.
What if you execute hobbitsvc.cgi from the command line?
This is the output on my server:
/home/users/hobbit/server/bin/hobbitsvc.cgi
Content-type: text/html
Invalid request
Stef
--===============0389106547596425090==--
From henrik@hswn.dk Wed Jun 24 08:13:44 2026
From: henrik@hswn.dk
To: xymon@xymon.com
Subject: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
Date: Wed, 08 Feb 2006 23:27:44 +0100
Message-ID: <20060208222744.GA7949@hswn.dk>
In-Reply-To:
<46767C80BA9CD64E9D0A816C9384FB5293FF62@A10HQCIS0MAIL01.apps.deca.mil>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0180628643668846072=="
--===============0180628643668846072==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
On Wed, Feb 08, 2006 at 03:58:50PM -0500, Camp, Neil D. (ManTech) CTR wrote:
> Hello all. I finally got everything compiled and installed on an HP-UX
> server. I have added the recommended lines to my httpd.conf, but now
> every time I try to drill down on any of the tests I get and error 500
> page and the following error in my webserver log...
> Premature end of script headers: bb-hostsvc.sh, referer:
> https://odin......
What happens if you do it like this (from a command line):
REQUEST_METHOD=GET \
REQUEST_URI="" \
QUERY_STRING="HOSTSVC=yourserver,deca,mil.conn" \
~hobbit/cgi-bin/bb-hostsvc.sh
(note the use of commas in the hostname instead of dots).
I would expect you to get some sort of error message ...
Henrik
--===============0180628643668846072==--
From frederic.mangeant@steria.com Wed Jun 24 08:13:44 2026
From: frederic.mangeant@steria.com
To: xymon@xymon.com
Subject: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
Date: Thu, 09 Feb 2006 11:33:06 +0100
Message-ID: <43EB1A62.7010706@steria.com>
In-Reply-To: <20060208222744.GA7949@hswn.dk>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2370909326295064476=="
--===============2370909326295064476==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Henrik Stoerner a écrit :
> On Wed, Feb 08, 2006 at 03:58:50PM -0500, Camp, Neil D. (ManTech) CTR wrote:
>
>> Hello all. I finally got everything compiled and installed on an HP-UX
>> server. I have added the recommended lines to my httpd.conf, but now
>> every time I try to drill down on any of the tests I get and error 500
>> page and the following error in my webserver log...
>> Premature end of script headers: bb-hostsvc.sh, referer:
>> https://odin......
>>
>
> What happens if you do it like this (from a command line):
>
> REQUEST_METHOD=GET \
> REQUEST_URI="" \
> QUERY_STRING="HOSTSVC=yourserver,deca,mil.conn" \
> ~hobbit/cgi-bin/bb-hostsvc.sh
>
> (note the use of commas in the hostname instead of dots).
>
> I would expect you to get some sort of error message ...
>
Hi Henrik
I'm having the same problem on my test system with Hobbit 4.2-pre from
02/09 snapshot (snapshot from 01/31 works fine) :
$ REQUEST_METHOD=GET REQUEST_URI=""
QUERY_STRING="HOSTSVC=hades.disk" /BB/hobbit/cgi-bin/bb-hostsvc.sh
Content-type: text/html
Invalid request
Invalid request
It works fine using the BB client :
$ ./bb localhost "hobbitdboard hades.disk"
hades|disk|green||1139480848|1139481095|1139482895|0|0|10.50.80.10|-1|green
Thu Feb 9 11:31:29 CET 2006 - Disk partitions on hades OK
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
--===============2370909326295064476==--
From henrik@hswn.dk Wed Jun 24 08:13:44 2026
From: henrik@hswn.dk
To: xymon@xymon.com
Subject: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
Date: Thu, 09 Feb 2006 12:40:29 +0100
Message-ID: <20060209114029.GB16909@hswn.dk>
In-Reply-To: <43EB1A62.7010706@steria.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1665824820540116511=="
--===============1665824820540116511==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
On Thu, Feb 09, 2006 at 11:33:06AM +0100, Frédéric Mangeant wrote:
> I'm having the same problem on my test system with Hobbit 4.2-pre from
> 02/09 snapshot (snapshot from 01/31 works fine) :
>
> $ REQUEST_METHOD=GET REQUEST_URI=""
> QUERY_STRING="HOSTSVC=hades.disk" /BB/hobbit/cgi-bin/bb-hostsvc.sh
> Content-type: text/html
>
> Invalid request
> Invalid request
The input parameters for the hobbitsvc CGI are being changed,
so how does it work if you run
$ REQUEST_METHOD=GET REQUEST_URI="" QUERY_STRING="HOST=hades&SERVICE=disk" \
/BB/hobbit/cgi-bin/bb-hostsvc.sh
(the "HOSTSVC" combo was disgusting because it required you to do the
make-hostname-dots-into-commas dancing around for BB's sake).
But if you run the entire snapshot - i.e. you did a full "make install"
of the snapshot - then it should generate the correct URL's for you.
Henrik
--===============1665824820540116511==--
From frederic.mangeant@steria.com Wed Jun 24 08:13:44 2026
From: frederic.mangeant@steria.com
To: xymon@xymon.com
Subject: [hobbit] Premature end of script headers: bb-hostsvc.sh, referer: ...
Date: Thu, 09 Feb 2006 17:22:17 +0100
Message-ID: <43EB6C39.3060708@steria.com>
In-Reply-To: <20060209114029.GB16909@hswn.dk>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3328487603269809762=="
--===============3328487603269809762==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Henrik Stoerner a écrit :
> The input parameters for the hobbitsvc CGI are being changed,
> so how does it work if you run
> $ REQUEST_METHOD=GET REQUEST_URI="" QUERY_STRING="HOST=hades&SERVICE=disk" \
> /BB/hobbit/cgi-bin/bb-hostsvc.sh
>
> (the "HOSTSVC" combo was disgusting because it required you to do the
> make-hostname-dots-into-commas dancing around for BB's sake).
>
> But if you run the entire snapshot - i.e. you did a full "make install"
> of the snapshot - then it should generate the correct URL's for you.
>
I did a "make install", but the error is still here. I went back to
01/31 snapshot.
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
--===============3328487603269809762==--