Xymon Mailing List Archive search

download instead of viewing the page

list Maik Heinelt
Thu, 31 May 2007 19:44:36 +0900
Message-Id: <user-cc5015a97fd4@xymon.invalid>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

user-348a872f1948@xymon.invalid wrote:
Hi Maik,

here is a response from an older thread:

I had the same problem, but this worked for me:
We use the NAME tag in bb-hosts and this value is -wrongly- given as 
param. to
the hobbitsvc.cgi.

Here an example with NAME="arwen (ESX Server for Linux)":
Have you tried it without the parentheses??  They can make a shell
script do unexpected things...
Yes I did.
The thing is the code should use the hostname not what is specified with 
the NAME tag.

The problem was solved by using the &BBHIKEY variable instead of &BBHOST in 
~hobbit/server/web/trends_form

Greetings,
Michael

-----Ursprüngliche Nachricht-----
Von: Maik Heinelt [mailto:user-4ab5eb34adb2@xymon.invalid]
Gesendet: Donnerstag, 31. Mai 2007 12:12
An: user-ae9b8668bcde@xymon.invalid
Betreff: [hobbit] download instead of viewing the page


I installed a Hobbid server 4.2 by compiling all needed packets.
The server is running well, so I can see the green points of the server,
when I check the Hobbit server.
But if I click on one of this green marks, for excample CPU, a download
of a file (bb-hostsvc.sh) will start.

Why? I checked my apache config, but I could not find any wrong entrys.
If I click on the mark for "trends", I can see the page and all standard
entrys of it. rrd  is also working well!

Maik

Hi,
I also don`t use SELinux and I tryed to find the trends_form file in the
hobbit/server/web/, but I didn`t found it.
The crazy thing is, it worked well at the first time. I just added one
client there. after that I couldn`t get some viewings!!

I also checked the permission and owner of the cgi folder. This settings
looks also fine (755).

Maik


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXqcTr4r+EhimPOURAnsrAKDgveO7Fhze/HosRJSdm1KtVtr9aQCfTaBX
awfTNzc0nMOA6SWkrNKqiXs=
=CCf9
-----END PGP SIGNATURE-----