Xymon Mailing List Archive search

hobbit-confreport.cgi syntax

list Francesco Duranti
Mon, 26 Sep 2005 13:32:33 +0200
Message-Id: <user-b2811f99727f@xymon.invalid>

A correction to this: with pageset the config report script will not work I think. It work for the page I've also in the main bb files but if I have a page in the pageset not present in the main BB file it will not work.
The output of config report in this case is a web page with:

Unable to find host information 

Francesco


-----Messaggio originale-----
Da: Francesco Duranti [mailto:user-7104dcecbfef@xymon.invalid] 
Inviato: lunedì 26 settembre 2005 11.58
A: user-ae9b8668bcde@xymon.invalid
Oggetto: [hobbit] R: [hobbit] hobbit-confreport.cgi syntax

If i use the config report from a page inside a pageset it work well but if i use it from the first page of a pagesets it will report all the configured object and not only those in the pageset.

Francesco


-----Messaggio originale-----
Da: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Inviato: mercoledì 21 settembre 2005 17.12
A: user-ae9b8668bcde@xymon.invalid
Oggetto: Re: [hobbit] hobbit-confreport.cgi syntax

On Wed, Sep 21, 2005 at 04:25:53PM +0200, Thomas wrote:
What's the syntax for hobbit-confreport.cgi ?
It's invoked as a CGI script. I noticed now that the normal ".sh" wrapper script wasn't included in 4.1.1 - fixed that.
A simple script like this in cgi-bin/hobbit-confreport.sh:

   #!/bin/sh

   exec /usr/lib/hobbit/server/bin/hobbit-confreport.cgi --env=/etc/hobbit/hobbitserver.cfg

And then you should be able to run it by picking it from the "Reports"
menu.

It uses a cookie to determine what pages/hosts to include in the report.


Henrik