Xymon Mailing List Archive search

bbmessage.cgi

3 messages in this thread

list Thomas Pedersen · Wed, 20 Jul 2005 16:10:57 +0200 ·
Would anybody have a small html page with the neccesary form tags for 
the bbmessage.cgi script

Mine suggests to download the bbmessage.cgi file :-(

Regards, Thomas
list Figaro Nicolas · Wed, 20 Jul 2005 16:20:02 +0200 ·
It's probably because your bbmessage.cgi isn't in a cgi configured directory. (so the server acts like it's a common text file, and doesn't try to execute it). 
You should check your httpd config file. (or put bbmessage.cgi to a Cgi-able directory, like ~hobbit/cgi-bin for example). 
Nicolas Figaro 
quoted from Thomas Pedersen
-----Message d'origine-----
De : Thomas [mailto:user-97316fb2dd2a@xymon.invalid] Envoyé : mercredi 20 juillet 2005 16:11
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] bbmessage.cgi


Would anybody have a small html page with the neccesary form tags for the bbmessage.cgi script

Mine suggests to download the bbmessage.cgi file :-(

Regards, Thomas
list Henrik Størner · Wed, 20 Jul 2005 16:56:50 +0200 ·
quoted from Figaro Nicolas
On Wed, Jul 20, 2005 at 04:10:57PM +0200, Thomas wrote:
Would anybody have a small html page with the neccesary form tags for 
the bbmessage.cgi script

Mine suggests to download the bbmessage.cgi file :-(
As someone else wrote: Check that your webserver handles it as a CGI.

However, bbmessage.cgi really just the recipient end of an HTTP "POST".
It's not intended to run off a web form - you use it with the "bb" 
client tool:

   bb http://www.foo.com/cgi-bin/bbmessage.cgi "status foo.test green"


Regards,
Henrik