R: [hobbit] hobbit-confreport.cgi syntax

Francesco Duranti fduranti at q8.it
Mon Sep 26 11:58:15 CEST 2005


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:henrik at hswn.dk] 
Inviato: mercoledì 21 settembre 2005 17.12
A: hobbit at hswn.dk
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

To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list