From etmsys@rit.edu Wed Jun 24 08:17:03 2026 From: etmsys@rit.edu To: xymon@xymon.com Subject: Availability Report not working Date: Thu, 03 Jan 2008 08:59:43 -0500 Message-ID: <001401c84e10$e460c6d0$1dfd1581@main.ad.rit.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4987869735775869909==" --===============4987869735775869909== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The Availability Report on the web just stopped working. It created the directory in the "rep", but nothing goes inside it. The webpage redirects to the correct location, but it's empty. Any ideas on what to look for? Nothing I can see in any of the logs indicates a problem.. Is there any "debug" that can be turned on to figure out why it's not working now? Not sure how long it's been this way, but it has the problem when it try to generate it on the web, it appears to be able to generate it via our daily script, just not via the web anymore. Thanks. ---Eric --===============4987869735775869909==-- From henrik@hswn.dk Wed Jun 24 08:17:03 2026 From: henrik@hswn.dk To: xymon@xymon.com Subject: [hobbit] Availability Report not working Date: Thu, 03 Jan 2008 15:07:19 +0100 Message-ID: <20080103140719.GA6549@hswn.dk> In-Reply-To: <001401c84e10$e460c6d0$1dfd1581@main.ad.rit.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2389420347160278846==" --===============2389420347160278846== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote: > Any ideas on what to look for? Nothing I can see in any of the logs > indicates a problem.. Is there any "debug" that can be turned on to figure > out why it's not working now? Not sure how long it's been this way, but it > has the problem when it try to generate it on the web, it appears to be able > to generate it via our daily script, just not via the web anymore. This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory. If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this: REQUEST_METHOD=3DGET \ SCRIPT_NAME=3Dbb-rep.sh \ QUERY_STRING=3D"start-mon=3DJan&start-day=3D1&start-yr=3D2008&end-mon=3D1&end= -day=3D3&end-yr=3D2008&style=3Dcrit" \ ~hobbit/cgi-bin/bb-rep.sh Henrik --===============2389420347160278846==-- From etmsys@rit.edu Wed Jun 24 08:17:03 2026 From: etmsys@rit.edu To: xymon@xymon.com Subject: [hobbit] Availability Report not working Date: Thu, 03 Jan 2008 09:16:39 -0500 Message-ID: <0DC212FE7F69B24F81D2C4F1E65FCC23028F6DAF@svits11.main.ad.rit.edu> In-Reply-To: <20080103140719.GA6549@hswn.dk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1209309454583546079==" --===============1209309454583546079== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I did check permissions, the directory is getting created correctly, just nothing going inside of it, after running this: Content-type: multipart/mixed;boundary=bbrep-29231-1199369692 --bbrep-29231-1199369692 Content-type: text/html Hobbit Availability Report : Jan 01 2008 - Jan 03 2008
 
RIT Hobbit
Availability Report
Jan 01 2008 - Jan 03 2008


 



Generating report for the period: Jan 01 2008 - Jan 03 2008 (crit)

Done...Report is here.

--bbrep-29231-1199369692 Content-Type: text/html Report is available here --bbrep-29231-1199369692 It seems to have a trailing "--bbrep-29231-1199369692", which is the directory name. -----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:07 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote: > Any ideas on what to look for? Nothing I can see in any of the logs > indicates a problem.. Is there any "debug" that can be turned on to figure > out why it's not working now? Not sure how long it's been this way, but it > has the problem when it try to generate it on the web, it appears to be able > to generate it via our daily script, just not via the web anymore. This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory. If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this: REQUEST_METHOD=GET \ SCRIPT_NAME=bb-rep.sh \ QUERY_STRING="start-mon=Jan&start-day=1&start-yr=2008&end-mon=1&end-day= 3&end-yr=2008&style=crit" \ ~hobbit/cgi-bin/bb-rep.sh Henrik To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk --===============1209309454583546079==-- From etmsys@rit.edu Wed Jun 24 08:17:03 2026 From: etmsys@rit.edu To: xymon@xymon.com Subject: [hobbit] Availability Report not working Date: Thu, 03 Jan 2008 09:17:33 -0500 Message-ID: <0DC212FE7F69B24F81D2C4F1E65FCC23028F6DB0@svits11.main.ad.rit.edu> In-Reply-To: <0DC212FE7F69B24F81D2C4F1E65FCC23028F6DAF@svits11.main.ad.rit.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5025976296574895748==" --===============5025976296574895748== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Also...that content-type at the start looks "odd" -----Original Message----- From: Eric Meddaugh [mailto:etmsys at rit.edu] Sent: Thursday, January 03, 2008 09:17 To: hobbit at hswn.dk Subject: RE: [hobbit] Availability Report not working I did check permissions, the directory is getting created correctly, just nothing going inside of it, after running this: Content-type: multipart/mixed;boundary=bbrep-29231-1199369692 --bbrep-29231-1199369692 Content-type: text/html Hobbit Availability Report : Jan 01 2008 - Jan 03 2008
 
RIT Hobbit
Availability Report
Jan 01 2008 - Jan 03 2008


 



Generating report for the period: Jan 01 2008 - Jan 03 2008 (crit)

Done...Report is here.

--bbrep-29231-1199369692 Content-Type: text/html Report is available here --bbrep-29231-1199369692 It seems to have a trailing "--bbrep-29231-1199369692", which is the directory name. -----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:07 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote: > Any ideas on what to look for? Nothing I can see in any of the logs > indicates a problem.. Is there any "debug" that can be turned on to figure > out why it's not working now? Not sure how long it's been this way, but it > has the problem when it try to generate it on the web, it appears to be able > to generate it via our daily script, just not via the web anymore. This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory. If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this: REQUEST_METHOD=GET \ SCRIPT_NAME=bb-rep.sh \ QUERY_STRING="start-mon=Jan&start-day=1&start-yr=2008&end-mon=1&end-day= 3&end-yr=2008&style=crit" \ ~hobbit/cgi-bin/bb-rep.sh Henrik To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk --===============5025976296574895748==-- From etmsys@rit.edu Wed Jun 24 08:17:03 2026 From: etmsys@rit.edu To: xymon@xymon.com Subject: [hobbit] Availability Report not working Date: Thu, 03 Jan 2008 09:21:30 -0500 Message-ID: <0DC212FE7F69B24F81D2C4F1E65FCC23028F6DB1@svits11.main.ad.rit.edu> In-Reply-To: <20080103140719.GA6549@hswn.dk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0745321259332261374==" --===============0745321259332261374== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Snapshot does not work either....creates the directory, just not the files... -----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:07 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote: > Any ideas on what to look for? Nothing I can see in any of the logs > indicates a problem.. Is there any "debug" that can be turned on to figure > out why it's not working now? Not sure how long it's been this way, but it > has the problem when it try to generate it on the web, it appears to be able > to generate it via our daily script, just not via the web anymore. This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory. If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this: REQUEST_METHOD=GET \ SCRIPT_NAME=bb-rep.sh \ QUERY_STRING="start-mon=Jan&start-day=1&start-yr=2008&end-mon=1&end-day= 3&end-yr=2008&style=crit" \ ~hobbit/cgi-bin/bb-rep.sh Henrik To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk --===============0745321259332261374==-- From henrik@hswn.dk Wed Jun 24 08:17:03 2026 From: henrik@hswn.dk To: xymon@xymon.com Subject: [hobbit] Availability Report not working Date: Thu, 03 Jan 2008 15:45:40 +0100 Message-ID: <20080103144540.GB7044@hswn.dk> In-Reply-To: <0DC212FE7F69B24F81D2C4F1E65FCC23028F6DB0@svits11.main.ad.rit.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8640536048633186245==" --===============8640536048633186245== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, Jan 03, 2008 at 09:17:33AM -0500, Eric Meddaugh wrote: > Also...that content-type at the start looks "odd" > > Content-type: multipart/mixed;boundary=bbrep-29231-1199369692 Nope, that is correct. It's a multi-part document. Regards, Henrik --===============8640536048633186245==-- From etmsys@rit.edu Wed Jun 24 08:17:03 2026 From: etmsys@rit.edu To: xymon@xymon.com Subject: [hobbit] Availability Report not working Date: Thu, 03 Jan 2008 09:52:38 -0500 Message-ID: <0DC212FE7F69B24F81D2C4F1E65FCC23028F6DB6@svits11.main.ad.rit.edu> In-Reply-To: <20080103144540.GB7044@hswn.dk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6922310238563488768==" --===============6922310238563488768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Here's the snapshot try....any ideas?? $ cat test2.sh #!/bin/sh REQUEST_METHOD=GET \ SCRIPT_NAME=bb-snapshot.sh \ QUERY_STRING="mon=Jan&day=2&yr=2008&hour=9&min=48&sec=00" \ /home/hobbit/cgi-bin/bb-snapshot.sh $ sh test2.sh Content-type: multipart/mixed;boundary=bbrep-27304-1199371887 bbrep-27304-1199371887 Content-type: text/html Hobbit - Snapshot Report
 
RIT Hobbit
Snapshot Report
Jan 02 2008


 



Generating snapshot: Jan 02 2008

Done...

bbrep-27304-1199371887 Content-Type: text/html bbrep-27304-1199371887 -----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:46 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working On Thu, Jan 03, 2008 at 09:17:33AM -0500, Eric Meddaugh wrote: > Also...that content-type at the start looks "odd" > > Content-type: multipart/mixed;boundary=bbrep-29231-1199369692 Nope, that is correct. It's a multi-part document. Regards, Henrik To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk --===============6922310238563488768==--