On Tue, Aug 15, 2006 at 10:42:45AM -0400, Asif Iqbal wrote:
On 8/15/06, Asif Iqbal <vadud3 at gmail.com> wrote:
I just upgrade hobbit from 4.1.2 to 4.2.0. Now I do not see any data or graph in this page
https://server.foo.net/hobbit-cgi/bb-hostsvc.sh?HOST=client.foo.com&SERVICE=...
When I run it from shell like this or view the source I get all the output. Do I need to fix the CSS or something?
Hobbit only uses plain HTML4, not any CSS.
REQUEST_METHOD="GET" QUERY_STRING="HOST=client.foo.com&SERVICE=bbtest" SCRIPT_NAME="bb-hostsvc.sh" ~hobbit/cgi-bin/bb-hostsvc.sh
When you run it from the shell, is the first line Content-type: text/html ?
Have you checked the webserver logs for any errors?
Also, you can try creating a "cgierror.log" file in the hobbit "logs" directory, owned by the group your webserver runs as, and group-write access. Errors from the CGI will then go into that file.
Henrik