<html><body>
<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 10pt; 
font-weight: normal; font-style: normal; ">
        This is the standard xymon svcstatus.sh cgi script. It works fine on other 
pages, it only causes this error on the trends page, when choosing a 
"Trends period" different from the default.</div>
<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 10pt; 
font-weight: normal; font-style: normal; ">
         </div>
<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 10pt; 
font-weight: normal; font-style: normal; ">
        Patrik</div>
<br />
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
        -----Original Message-----<br />
        From: "netz-haut - stephan seitz" <s.seitz@netz-haut.de><br 
/>
        To: <patrik.nilsson@mrgreen.com><br />
        Cc: <xymon@xymon.com><br />
        Date: Thu, 13 Oct 2011 16:30:36 +0200<br />
        Subject: Re: [Xymon] Trends page - Premature end of scriptheaders: 
svcstatus.sh<br />
        <br />
        Hi,<br />
        <br />
        "Premature end of script headers" usually indicates the absence 
of a content-type header. The error could be a result of your particular cgi 
configuration.<br />
        Anyway, you could verify this issue by simply adding<br />
        <br />
        echo "Content-type: text/html"<br />
        echo ""<br />
        <br />
        to the respective .sh script. Just get sure these lines are inserted before 
any other output is generated. If this solves your issue, you might want 
to<br />
        read the documentation of your cgi implementation, if (and how) this can be 
fixed at cgi level.<br />
        <br />
        Cheers,<br />
        Stephan<br />
        <br />
        <table cellpadding="0" cellspacing="0" width="100%">
                <tbody>
                        <tr>
                                <td>
                                        <pre>

</pre>
                                        <br />
                                         </td>
                        </tr>
                </tbody>
        </table>
        Am Donnerstag, den 13.10.2011, 15:25 +0200 schrieb Patrik Nilsson:
        <blockquote type="CITE">
                No one else seeing this error?</blockquote>
        <blockquote type="CITE">
                 </blockquote>
        <blockquote type="CITE">
                This is on a new 4.3.5 install on openSUSE 11.4 
(x86_64) 2.6.37.6-0.7.</blockquote>
        <blockquote type="CITE">
                 </blockquote>
        <blockquote type="CITE">
                Best,</blockquote>
        <blockquote type="CITE">
                 </blockquote>
        <blockquote type="CITE">
                Patrik</blockquote>
        <blockquote type="CITE">
                <blockquote>
                        -----Original Message-----<br />
                        From: "Patrik Nilsson" <patrik.nilsson@mrgreen.com><br />
                        To: <xymon@xymon.com><br />
                        Date: Mon, 10 Oct 2011 15:49:45 +0200<br />
                        Subject: [Xymon] Trends page - Premature end of script headers: 
svcstatus.sh<br />
                         </blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                        <br />
                        Hi,</blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                         </blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                        On a newly installed 4.3.5, if I go into a trends page and specify a 
Trends period och click on Update, I get a "Premature end of script 
headers: svcstatus.sh" Error 500. It does not seem to matter what time 
period I specify, it always result in the same error.</blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                         </blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                        Best regards,</blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                         </blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                        Patrik Nilsson</blockquote>
        </blockquote>
        <blockquote type="CITE">
                <blockquote>
                         </blockquote>
        </blockquote>
</blockquote>
</body></html>