Xymon Mailing List Archive search

hobbit-confreport.cgi syntax

list Francesco Duranti
Mon, 26 Sep 2005 11:58:15 +0200
Message-Id: <user-ff816dbf980d@xymon.invalid>

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