Xymon Mailing List Archive search

Client data available & bb-hostsvc.sh

3 messages in this thread

list Charles Jones · Sat, 16 Sep 2006 17:46:13 -0700 ·
Whenever I click the "client data available" link, instead of seeing the 
client data, I am prompted to download a file called "bb-hostsvc.sh". I 
searched the archive and saw someone else mention this, but no resolution?

-Charles
list Mike Arnold · Mon, 18 Sep 2006 10:24:26 -0700 (MST) ·
quoted from Charles Jones
Charles Jones wrote:
Whenever I click the "client data available" link, instead of seeing the
client data, I am prompted to download a file called "bb-hostsvc.sh". I
searched the archive and saw someone else mention this, but no resolution?

-Charles

I would have to assume your webserver was mis-configured.  Assuming you
use apache, and assuming you use the hobbit-apache.conf that provides
these settings:

ScriptAlias /hobbit-cgi/ "/usr/libexec/hobbit/cgi-bin/"
<Directory "/usr/libexec/hobbit/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

I would think you may have a stray MIME setting somewhere.  Check for
DefaultType, AddHandler, or AddType in your http.conf setting *.sh to
Text.

-- 
-mike
list Charles Jones · Mon, 18 Sep 2006 11:13:02 -0700 ·
I double-checked my conf.d/hobbit.conf and it does have the correct 
settings. And, lo and behold without me changing anything, today the 
client data available links work properly again. I think its a random 
occurence, like when the "info", status does the same thing.

-Charles
quoted from Mike Arnold

Mike Arnold wrote:
Charles Jones wrote:
  
Whenever I click the "client data available" link, instead of seeing the
client data, I am prompted to download a file called "bb-hostsvc.sh". I
searched the archive and saw someone else mention this, but no resolution?

-Charles

I would have to assume your webserver was mis-configured.  Assuming you
use apache, and assuming you use the hobbit-apache.conf that provides
these settings:

ScriptAlias /hobbit-cgi/ "/usr/libexec/hobbit/cgi-bin/"
<Directory "/usr/libexec/hobbit/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

I would think you may have a stray MIME setting somewhere.  Check for
DefaultType, AddHandler, or AddType in your http.conf setting *.sh to
Text.