Xymon Mailing List Archive search

clickable column headings

5 messages in this thread

list Christopher T. Beers · Sat, 05 Feb 2005 01:41:46 -0500 ·
The column headings are clickable but go to page not found errors?  Hobbit 
4.0 RC1.

Chris
list Henrik Størner · Mon, 7 Feb 2005 22:45:26 +0100 ·
hi Chris,
quoted from Christopher T. Beers

On Sat, Feb 05, 2005 at 01:41:46AM -0500, Christopher T. Beers wrote:
The column headings are clickable but go to page not found errors?  Hobbit 
4.0 RC1.
You've probably missed getting this setting into your hobbitserver.cfg
file - it was added in beta-4, but you may not have thought about it:

COLUMNDOCURL="$CGIBINURL/hobbitcolumn.sh?%s"


Henrik
list Christopher T. Beers · Tue, 08 Feb 2005 10:24:28 -0500 ·
Nope its there.  I get invalid request on the page.  Here is the apache log (clicked on conn)

128.230.49.190 - - [08/Feb/2005:10:21:10 -0500] "GET /hobbit-cgi/hobbitcolumn.sh?conn HTTP/1.1" 200 86 "http://helpme.syr.edu/hobbit/SIS/SIS-Unix/SIS-Unix.html"; "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8"

and the hobbitcolum.sh file
#!/bin/sh

QUERY_STRING="key=$QUERY_STRING&db=columndoc.csv"  exec /usr/local/hobbit/server/bin/bb-csvinfo.cgi --env=/usr/local/hobbit/server/etc/hobbitserver.cfg --color=purple --hffile=columndoc

Chris
quoted from Henrik Størner

--On February 7, 2005 10:45:26 PM +0100 Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

| You've probably missed getting this setting into your hobbitserver.cfg
| file - it was added in beta-4, but you may not have thought about it:
|
| COLUMNDOCURL="$CGIBINURL/hobbitcolumn.sh?%s"
list Henrik Størner · Wed, 9 Feb 2005 22:26:56 +0100 ·
It must be some sort of error in getting the query-string across to
the script. If I try to access your site using the URL
   /hobbit-cgi/bb-csvinfo.sh?db=columndoc.csv&key=conn
which internally works almost the same, then it works OK...

What kind of system are you running on ? It could be some shell
oddity. Could you try changing the cgi-bin/hobbitcolumn.sh script to:

#!/bin/sh

QS="${QUERY_STRING}"
QUERY_STRING="db=columndoc.csv&key=${QS}"  export QUERY_STRING

exec /usr/local/hobbit/server/bin/bb-csvinfo.cgi  \
    --env=/usr/local/hobbit/server/etc/hobbitserver.cfg \
    --color=purple --hffile=columndoc


and let me know if that works better ?


Thanks,
Henrik
quoted from Christopher T. Beers


On Tue, Feb 08, 2005 at 10:24:28AM -0500, Christopher T. Beers wrote:
Nope its there.  I get invalid request on the page.  Here is the apache log (clicked on conn)

128.230.49.190 - - [08/Feb/2005:10:21:10 -0500] "GET /hobbit-cgi/hobbitcolumn.sh?conn HTTP/1.1" 200 86 "http://helpme.syr.edu/hobbit/SIS/SIS-Unix/SIS-Unix.html";
and the hobbitcolum.sh file
#!/bin/sh

QUERY_STRING="key=$QUERY_STRING&db=columndoc.csv"  exec /usr/local/hobbit/server/bin/bb-csvinfo.cgi --env=/usr/local/hobbit/server/etc/hobbitserver.cfg --color=purple --hffile=columndoc
list Christopher T. Beers · Wed, 09 Feb 2005 18:04:06 -0500 ·
Works as expected now.  As usual you are a genius.

Solaris 8 on sparc 64 bit.

Chris

--On February 9, 2005 10:26:56 PM +0100 Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 
quoted from Henrik Størner
wrote:

| What kind of system are you running on ? It could be some shell
| oddity. Could you try changing the cgi-bin/hobbitcolumn.sh script to: